Before going live with your chosen payment method to accept payments, check if you completed everything that is required for a successful implementation.
Each implementation has its own specific differences, but there are some general requirements your implementation should meet.
This page contains additional use cases, which are not mentioned at specific implementation scenarios:
To test whether your implementation is ready for production deployment, check against the following use cases in Sandbox environment.
Use this list of use cases to test if the corresponding process works with the Merchant API. To see if your application handles these use cases as expected, the corresponding API calls should be made by your backend without errors. While changes you make should be present in the Merchant API.
For more information about the API calls, see: Merchant API.
Some of these checks are optional, be aware of which ones apply to your specific implementation.
email
), with the Sandbox Secret API key in the request header.Customer created successfully.
Customer's details updated successfully.
Customer is deleted successfully.
Create order with minimal required parameters (amount
, currency
), with the Sandbox Secret API key in the request header.
Use your implemented payment method to pay for the order you created. Either using:
completed
.amount
, currency
) and capture_mode
set to manual
, with the Merchant Secret API key in the request header.completed
.amount
, currency
), with the Sandbox Secret API key in the request header.cancelled
.Create order with minimal required parameters (amount
, currency
) and capture_mode
set to manual
, with the Merchant Secret API key in the request header.
Use your implemented payment method to pay for the order you created.
Log in to your Sandbox Merchant account to cancel the payment:
cancelled
.Create order with the following parameters, with the Sandbox Secret API key in the request header:
{
"amount": 50000,
"currency": "GBP",
"customer_id": "<ID of customer>",
"shipping_address": {
"country_code": "GB",
"postcode": "E145AB"
}
}
Order contains shipping_address
object.
completed
state, get the order's id
.amount
), provide full amount for total refund, with the Sandbox Secret API key in the request header.refund
is created.completed
.completed
state, get the id
.amount
), provide partial amount, with the Sandbox Secret API key in the request header.refund
is created.completed
.completed
state, get the id
.amount
), provide partial amount, with the Sandbox Secret API key in the request header.refund
are created for each partial refund.completed
.completed
state, get the id
.amount
), provide partial amount, with the Sandbox Secret API key in the request header.refund
are created for each partial refund.completed
.Webhook is sending event information to your backend.
35.246.21.235
34.89.70.170
Merchant's server receives webhook event information.
If your implementation passed all relevant checks, you are ready to go live!