Shopware
The following test scenarios has to be done for the connection via our Shopware module.
Before GoLive please process the following tests if you connect front and backend with our Ratepay module and our API.
Operations
attention
Please also consider the following special features in the following test chains if they occur in your operational business:
 Percentage and absolute discounts
 Bonus points
 Different shipping methods and costs
 Additional costs such as trusted shops, handling costs, ...
 Article bundles
 Free articles
A: Partial cancellations

Structure the order as follows:
 1 x Article A
 1 x Article B
 Shipping costs
 Voucher for discount (e.g. 10% or 5,00 €)
 Execute a partial cancellation for Article A.
 Cancel Article B, Shipping costs and the voucher.
B: Full cancellation

Structure the order as follows:
 1 x Article A
 1 x Article B
 Shipping costs
 Cancel the full order.
C: Partial deliveries

Structure the order as follows:
 2 x Article A
 1 x Article B
 Shipping costs
 Voucher for discount (e.g. 10% or 5,00 €)

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.
D: Partial returns

The order should be structured as follows:
 2 x Article A
 1 x Article B
 Shipping costs
 Voucher for discount (e. g. 10%)
 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 (e. g. 10%)
E: Full return

The order should be structured as follows:
 2 x Article A
 Shipping costs
 Voucher for discount (e.g. 10% or 5,00 €)
 Perform a full delivery.
 Finally return all articles.
F: Voucher value is higher than remaining receivable

The order should be structured as follows:
 1 x Article A (e. g. 40,00 €)
 1 x Article B (e. g. 20,00 €)
 1 x Voucher with the amount of e. g. 50,00 € (the value of the voucher should be below the order value)
 Make a delivery for the order.
 Execute a partial return for article B.
attention
In the last step, an error should occur, because the remaining amount is now negative.
Because here in this example a receivable value of 10,00 € arises, a return must be carried out for the entire order.
G: Discount after delivery & additional charge (if contractually agreed)

The order should be structured as follows:
 3 x Article A
 3 x Article B
 Shipping costs

Perfom a partial delivery for the following articles:
 1 x Article A
 1 x Article B
 Shipping costs
 Add a discount (credit) to the order.
 If contractually agreed: Add an additional debit / charge (e.g. fee)

Perform a partial delivery for the remaining articles:
 2 x Article A
 2 x Article B
H: Rejection
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.
Result code  Reason code  First name  Last name  City 

150  730  Buyer  Ablehnung  Testhausen 
401  720  Payment  Ablehnung  Testhausen 
401  721  Risk  Ablehnung  Testhausen 
401  703  Generic*  Ablehnung  Testhausen 
*: For a rejection with reason code 703: Request not successful you can freely select a technically valid first name.