Testing: orders & refunds
Testing tipsTesting is the most important part of the integration process.
If available, a staging environment is recommended for installation and testing before going Live in the production environment. If a staging environment is not available, testing can be performed in production as well.
It is important to place an order and verify that the order flow works correctly.
Place an order with Scalapay
Follow these steps to test the integration.
- Choose a product. It must have a price lower than the maximum allowed amount.
- Fill the cart with fictitious data.
- At checkout, select Scalapay as the payment method.
- Log in to Scalapay using test user credentials (for example, the same ones used to log in to the Scalapay Customer Portal), or follow the flow to create a new test user.
- Enter the test card details provided below to complete the order.
- Confirm that you are redirected to your website’s confirmation page.
Testing cards
SuccessCard Number: 5200828282828210
CVV: any code (e.g. 123)
Expiry date: any date(Any CAP to complete the transaction)
Also check what happens when attempting to pay with an invalid card.
FailureCard Number: 4000000000000341
CVV: any code (e.g. 123)
Expiry date: any date(Any CAP to complete the transaction)
Refund a Scalapay order
ImportantIf you can't see the refund option, remember that you have to activate it through the Magento Settings.
On the backend of your store, select "Sales" from the left menu and click on "Orders".
In order to select and open a specific order to be refunded, please follow these steps.
- Select the "Order view".
- Select "Invoices" from the left menu.
- View/open the invoice you want to refund.
- Click on "Credit Memo" from the top menu.
- Click on "Refund" at the bottom of the page to refund the desired amount.

Refund order process
Refund and refund offline
Clicking on "Refund" will automatically trigger the refund on Scalapay. In this way you won't need to manually refund the customer via the Partner Portal.
If you do not want to automatically refund the customer, use the "Refund offline" button.
REFUND WITH SCALAPAYWhen processing the refund, it is possible to proceed also via the Scalapay Merchant Portal.
The refund on Scalapay will not be processed automatically; it is necessary to log in to the backend of the site and update the order status manually.
Updated 5 days ago
