⏱ 10 min
Before Go-Live, please process the following tests & send them to your Ratepay contact person.
Consider all your possible use cases of your daily operational business. Please also consider the following special features in the following test chains if they occur in your business:
- Percentage and absolute discounts
- Bonus points
- Different shipping methods and costs
- Additional costs such as trusted shops, handling costs, ...
- Article bundles
- Free articles
- Structure the order as follows:
- 1 x Article A
- 1 x Article B
- Shipping costs
- Voucher for discount (fixed amount e.g. 5,00 €)
- Execute a partial cancellation for Article A.
- Cancel Article B, Shipping costs and the voucher.
Click to expand
authorization
{
"shop_baskets": [
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"shop_transaction_id": "ordernumber-0123",
"gross_amount": 30.00,
"items": [
{
"gross_unit_price": 10.00,
"name": "article A",
"quantity": 1,
"tax_rate": 19
},
{
"gross_unit_price": 20.00,
"name": "article B",
"quantity": 1,
"tax_rate": 19
}
],
"special_items": [
{
"gross_unit_price": -5.00,
"name": "voucher",
"quantity": 1,
"tax_rate": 19
},
{
"gross_unit_price": 5.00,
"name": "shipping",
"quantity": 1,
"tax_rate": 19
}
],
"vats": [
{
"net_amount": 25.21,
"tax_amount": 4.79,
"tax_rate": 19
}
]
}
]
}
cancellation1
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "cancel-id-123",
"gross_amount": 10.0
}
cancellation2
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "cancel-id-234",
"gross_amount": 20.0
}
- Structure the order as follows:
- 2 x Article A
- 1 x Article B
- Shipping costs
- Voucher for discount (percentage amount e.g. -10%)
- Execute a partial delivery for the following items:
- 1 x Article A
- Shipping costs
- Voucher for discount
- Execute a second delivery for the remaining articles.
Click to expand
authorization
{
"shop_baskets": [
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"shop_transaction_id": "ordernumber-0123",
"gross_amount": 32.00,
"items": [
{
"gross_unit_price": 10.00,
"name": "article A",
"quantity": 1,
"tax_rate": 19
},
{
"gross_unit_price": 20.00,
"name": "article B",
"quantity": 1,
"tax_rate": 19
}
],
"special_items": [
{
"gross_unit_price": -3.00,
"name": "voucher",
"quantity": 1,
"tax_rate": 19
},
{
"gross_unit_price": 5.00,
"name": "shipping",
"quantity": 1,
"tax_rate": 19
}
],
"vats": [
{
"net_amount": 26.89,
"tax_amount": 5.11,
"tax_rate": 19
}
]
}
]
}
capture1
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "capture-id-123",
"gross_amount": 12.0
}
capture2
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "capture-id-234",
"gross_amount": 20.0
}
- The order should be structured as follows:
- 2 x Article A
- 1 x Article B
- Shipping costs
- Voucher for discount (fixed amount e.g. 5,00 €)
- Perform a delivery for all articles.
- Execute a partial return with the following articles:
- 1 x Article A
- Finally return the remaining articles:
- 1 x Article A
- 1 x Article B
- Shipping costs
- Voucher for discount (fixed amount e.g. 5,00 €)
Click to expand
authorization
{
"shop_baskets": [
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"shop_transaction_id": "ordernumber-0123",
"gross_amount": 40.00,
"items": [
{
"gross_unit_price": 10.00,
"name": "article A",
"quantity": 2,
"tax_rate": 19
},
{
"gross_unit_price": 20.00,
"name": "article B",
"quantity": 1,
"tax_rate": 19
}
],
"special_items": [
{
"gross_unit_price": -5.00,
"name": "voucher",
"quantity": 1,
"tax_rate": 19
},
{
"gross_unit_price": 5.00,
"name": "shipping",
"quantity": 1,
"tax_rate": 19
}
],
"vats": [
{
"net_amount": 33.61,
"tax_amount": 6.39,
"tax_rate": 19
}
]
}
]
}
capture
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "capture-id-123",
"gross_amount": 40.0
}
return1
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "return-id-123",
"gross_amount": 10.0
}
return2
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "return-id-234",
"gross_amount": 30.0
}
- The order should be structured as follows:
- 2 x Article A
- 1 x Article B
- Shipping costs
- Voucher
- Perform a delivery for all articles.
- Execute a refund (fixed amount e.g. 5,00 €):
Click to expand
authorization
{
"shop_baskets": [
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"shop_transaction_id": "ordernumber-0123",
"gross_amount": 40.00,
"items": [
{
"gross_unit_price": 10.00,
"name": "article A",
"quantity": 2,
"tax_rate": 19
},
{
"gross_unit_price": 20.00,
"name": "article B",
"quantity": 1,
"tax_rate": 19
}
],
"special_items": [
{
"gross_unit_price": -5.00,
"name": "voucher",
"quantity": 1,
"tax_rate": 19
},
{
"gross_unit_price": 5.00,
"name": "shipping",
"quantity": 1,
"tax_rate": 19
}
],
"vats": [
{
"net_amount": 33.61,
"tax_amount": 6.39,
"tax_rate": 19
}
]
}
]
}
capture
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "capture-id-123",
"gross_amount": 40.0
}
refund
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "refund-id-123",
"gross_amount": 10.0
}
- The order should be structured as follows:
- 2 x Article A
- 2 x Article B
- 2 x Article C
- Shipping costs
- Perform a partial delivery for 3 articles + shipping costs:
- 2 x Article A
- 1 x Article B
- Shipping costs
- Perform a partial cancellation for Article C.
- Execute a partial return for the following articles:
- 1 x Article A
- 1 x Article B
- Make a partial delivery for the remaining articles:
- 1 x Article B
- 1 x Article C
- Complete a full return for the remaining three articles.
Click to expand
Payment API 2.0
authorization
{
"shop_baskets": [
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"shop_transaction_id": "ordernumber-0123",
"gross_amount":125.00,
"items": [
{
"gross_unit_price": 10.00,
"name": "article A",
"quantity": 2,
"tax_rate": 19
},
{
"gross_unit_price": 20.00,
"name": "article B",
"quantity": 2,
"tax_rate": 19
},
{
"gross_unit_price": 30.00,
"name": "article C",
"quantity": 2,
"tax_rate": 19
}
],
"special_items": [
{
"gross_unit_price": 5.00,
"name": "shipping",
"quantity": 1,
"tax_rate": 19
}
],
"vats": [
{
"net_amount": 105.04,
"tax_amount": 19.96,
"tax_rate": 19
}
]
}
]
}
capture1
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "capture-id-123",
"gross_amount": 45.0
}
cancellation
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "cancel-id-123",
"gross_amount": 30.0
}
return1
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "return-id-123",
"gross_amount": 30.0
}
capture2
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "capture-id-234",
"gross_amount": 50.0
}
return2
{
"partner_shop_id": "PROVIDED_BY_RATEPAY",
"partner_operation_id": "return-id-234",
"gross_amount": 60.0
}
Transmit orders with the following data to trigger specific result and reason codes. Please check whether these transactions were successfully rejected. Further check if the transactions do not appear in your subsequent systems.
| Decline Categories | |
|---|---|
| buyer_identity@ratepay.com | 422 - Buyer Identity |
| payment_attribute@ratepay.com | 422 - Payment Attribute |
| risk_decision@ratepay.com | 422 - Risk Decision |
| transaction_risk@ratepay.com | 422 - Transaction Risk |
Transmit orders with the following data to trigger the OTP flow.
- Structure the order as follows:
- 1 x Article A
- 1 x Article B
- Shipping costs
- Use otp_required@ratepay.com as the email address
- Enter mock OTP code of
999999
Transmit orders with the following data to trigger the OTP flow.
- Structure the order as follows:
- 1 x Article A
- 1 x Article B
- Shipping costs
- Use otp_required@ratepay.com as the email address
- Enter any OTP code other than
999999for 3 times