Support

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 and to install and test before going on production environment. If you do not have a staging environment, you can test in production as well.

Make sure to place an order and check if your order flow is correct!




Place an order with Scalapay

Follow these steps to test your integration.

  1. Choose a product. It must have a price lower than the maximum amount.
  2. Fill up the cart data with fictitious data.
  3. Select Scalapay at checkout as the payment method.
  4. 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).
  5. Insert the testing cards data to complete the order using the card below.
  6. Confirm that you have been redirected to the confirmation page of your website.



Testing cards

πŸ‘

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)




Refund a Scalapay order

πŸ“˜

Important

If you can't see the refund option, remember that you have to activate it through the Magento Settings.


In order to refund a Scalapay order in the backend of Magento 2, follow these steps.


  1. Select "Sales" on the left menu of your backend.
  2. Click on "Orders".
  3. Click on "View" to open the order you want to refund.
  4. Click on "Credit Memo" from the top menu.
  5. Click on "Refund" at the bottom right of the page to refund the desired amount.


471

Refund 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 don’t want to refund the customer automatically, please use the Refund offline button.


πŸ“˜

REFUND WITH SCALAPAY

When you process the refund, you can choose to proceed also on the Scalapay Partner Portal.

The refund on Scalapay will not be processed automatically but you will need to login into the backend your site and update the status of the order.