Testing: orders & refunds
Testing tips
Testing is the most important part of the integration process.
If you have one, we advise you to use a staging environment, to install and test before going on production environment. If you do not have a staging environment, you can test in production as well.
Place an order
Follow these steps to test your integration.
- Choose a product. It must have a price lower than the maximum amount.
- Fill up the cart data with fictitious data.
- Select Scalapay at checkout as the payment method.
- Login to Scalapay with a test user information (like the one you used to login into Scalapay Customer Portal or follow the flow to create a new one).
- Insert the testing cards data to complete the order using the card below.
- Confirm that you have been redirected to the confirmation page of your website.
TESTING CARD
Success
Card Number: 5200828282828210
CVV: any code (e.g. 123)
Expiry date: any date(Any CAP to complete the transaction)
You should also check what happens when you try to pay with an invalid card.
Failure
Card Number: 4000000000000341
CVV: any code (e.g. 123)
Expiry date: any date(Any CAP to complete the transaction)
How to refund an order
Refund a specific order
- After login to admin, go to sales and then select orders section.
- Click on edit button of the completed order of interest.
- In the order detail page, you will find the available refund options, refund or partial refund.
- Through the Refund option you will do a total refund of the order; please check the screenshot below.
- Through the Partial refund option you can refund and order partially; please check the screenshot below.
- Partial refund amount should be equal or less then order total amount. As in I have refunded 20 EUR of total 51 EUR.
WARNING | REFUND WITH SCALAPAY IN LIVE MODE !
When you process the refund you can choose to also process the refund in Scalapay Partner Portal.
The refund in Scalapay will not be processed automatically but you will need to login into your site and align the status of the order.
You can also refund manually if you donβt want to use the Scalapay process.
Updated 9 days ago