- Store payment details for one-off payments
- Make a test one-off payment with stored payment details
- Store payment details for subscription payments
- Make a test subscription payment with stored payment details
- Update stored payment details
- Remove stored payment details
Step 1: Store payment details for one-off payments
Test storing payment details for one-off payments.-
Create a token with an amount of 0 (zero-auth transaction). In your API request, set the following parameters:
- Get the recurring.token.created webhook.
- Store the token from the webhook and the shopper reference for test one-off payments.
Step 2: Make a test one-off payment
Test making a one-off payments with stored payment details.-
Make a test one-off payment with the token you created for testing. In your API request, set the following parameters:
- Get the AUTHORISATION webhook on your server. It includes the status of the payment.
Step 3 (optional): Store payment details for subscription payments
If you accept subscription payments, test storing payment details for subscription payments.-
Create a token with an amount of 0 (zero-auth transaction). In your API request, set the following parameters:
- Get the recurring.token.created webhook.
- Store the token from the webhook and the shopper reference for test subscription payments.
Step 4 (optional). Make a test subscription payment
If you accept subscription payments, test making a subscription payment with stored payment details.-
Make a test one-off payment with the token you created for testing. In your API request, set the following parameters:
- Get the AUTHORISATION webhook on your server. It includes the status of the payment.
Step 5. Update stored payment details
Test updating stored payment details.- Make a request to update stored payment details for one of the tokens you created for testing.
- Get the stored for the shopper reference you stored the token with.
Step 6. Remove stored payment details
Test deleting stored payment details. Make a request to delete stored payment details for one of the tokens you created for testing.Real Time Account Updater scenarios
To test how different Real Time Account Updater scenarios work for your integration, use the following test card numbers and expiry dates in your payment request. The response will contain the corresponding status in theadditionalData.realtimeAccountUpdaterStatus field.
If you are not fully PCI compliant and thus unable to process raw card data, add a prefix of
test_ to the credentials. For example, use "encryptedCardNumber": "test_5454547699084950". This allows you to test using encrypted card details.