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 your 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 the refund option is not visible, ensure it is activated through the Magento Settings.
To refund a Scalapay order in the Magento 2 backend, follow these steps:
- Select Sales from the left-side menu in the backend.
- Click Orders.
- Click View to open the order to be refunded.
- Click Credit Memo in the top menu.
- Click Refund at the bottom-right of the page to refund the desired amount.

Refund process
Refund and refund offline
Clicking Refund will automatically trigger the refund on Scalapay, eliminating the need to process the refund manually via the Merchant Portal. If the customer should not be refunded automatically, the Refund Offline button can be used.
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 9 days ago
