TABLE OF CONTENTS


All PSPs have their own test details for you to use in your test scenarios.  If in doubt - search your PSP and 'test details' for further and most up to date information, or contact our support team who can help you find it if you are unsure.  Each PSP will have its own limits for test transaction processing and it's always best to check with your provider first.


Card Payments

The process of testing card payments is fairly simple. The user must enter the card details as required on the Asperato payment page, each card gateway has its own set of agreed test card numbers, these can be found by heading to your chosen gateway website and searching for test card details.


Responses from card gateways will the outcome of your test will be almost instantaneous. You should get a result into the Asperato payment record quickly, but may need to refresh the record to see the result.


To check which card gateway you are using, head to the asperato setup page and check details against each currency you have set up.


Failed card payment scenarios


In some cases you will want to test certain scenarios, to ensure that the outcomes are being passed back to the relevant record. For example, failed payments due to insufficient funds, card expired etc Again each PSP has its own set of agreed mechanisms for doing this. They can be found by heading to your chosen PSP website and searching for test cards. Typical methods for doing this include using specific card numbers, payor names or amounts. If at any point you struggle to find the details please drop an email to support@asperato.com and we can try to assist.


Direct Debit (GoCardless)


Testing Direct Debits is mildly more complex due to the timing cycles involved.


If you set up a mandate or attempt to process a payment there are certain delays involved when receiving an outcome. These delays can cause challenges (or lots of tea drinking) for testing / development.


For example the time it takes between setting up a mandate and confirming a mandate in the UK is around 3 days, a long time to wait if you're testing. The way to get around this is to use what are called Scenario Simulators offered by GoCardless.


Given the nature of the Asperato integration we suggest using the “Name triggered scenarios”, details of which can be found here: https://hub.gocardless.com/s/article/Introduction-to-Developer-Tools?language=en_GB


For full details of different timing cycles please ask your Direct Debit provider: here we give a link to the BACS UK timings: https://hub.gocardless.com/s/article/United-Kingdom-Bacs-payment-timings?language=en_GB


Testing Payments in LIVE Mode


Once you go live it is also strongly recommended that you process a few test transactions to ensure that your PSP and Asperato is configured correctly.


To do this, you will require live payment credentials and you will likely want a method to refund them too. Please note that there is no way to speed up live testing of Direct Debit payments.