Setup

Setup your Credentials

Within the configuration menu you will find a new Ratepay entry. In this section you will find the Profile configuration menu.

setup1

setup2

Enter the API credentials you got from Ratepay. If you have no individual credentials so far, use our global test credentials.

Profile ID Security Code
INTEGRATION_TE_DACH 4c0a11923fa3433fb168f9c7176429e9

The test credentials are valid for all available countries, frontend and backend. Individual credentials normally differ from country to country and from frontend to backend. Backend credentials are useful when working with SWAG Backend Orders.


Further Configuration of the Ratepay Payment Extension

  1. Open the Plugin Manager
  2. Expand the Installed section
  3. Click the pen to edit the plugin

setup3


Bi-directionality and batch processing

setup4

By enabling bi-directionality, Ratepay will get updates if the status of an order changed. It doesn't matter if you do the update manually by using the order detail view in Shopware or if it's send by external systems, such as ERPs and middlewares.

attention

Activation of bidirectionality also enables batch processing.

Bi-directionality

Activate this feature as follows:

  1. Set Activate bidirectionality sync to Yes .
  2. Pre-define the statuses for full delivery, full cancellation, and full return properly.
  3. Set up a cronjob, if you have not done yet.

setup5

Order changes done in external systems, such as ERP systems, are now automatically sent to Ratepay.

Item based bi-directionality

  1. Set Activate bidirectionality sync to Yes .
  2. Pre-define the statuses for delivery, cancellation and return properly.
  3. Set up a cronjob, if you have not done yet.

setup6

Order changes on article positions done in external systems, such as ERP systems, are now automatically sent to Ratepay.

warning

Special shipping costs are not supported by this feature (cf. advanced settings).

Batch processing

With batch processing you can change the status of multiple orders to Sent, Cancelled and Returned.

warning

Batch processing cannot be used to process partial deliveries, partial cancellations and partial returns.


Advanced Settings

Handle shipping costs and vouchers as basket items

Ratepay's payment gateway can handle shipping costs and discounts in two different ways. Depending on the Ratepay API version you are using in your backend system (like an ERP), you may need to modify that settings.

setup7

Default = No

Starting with Ratepay API version 1.8, shipping costs and discounts are submitted in a special <shipping> element or <discount> element.

Copy
Copied
<shopping-basket> with <shipping>-element

<shopping-basket amount="13.89" currency="EUR">
    <items>
        <item article-number="12345" quantity="1" tax-rate="19" unit-price-gross="9.99">Testproduct</item>
    </items>
    <shipping tax-rate="19" unit-price-gross="5.9">Shipping costs</shipping>
    <discount tax-rate="19" unit-price-gross="-2">Voucher</discount>
</shopping-basket>

Basket item = Yes

For older API versions set this option to Yes. Then shipping costs and discounts will be handled like other line items.

Copy
Copied
<shopping-basket> with line-items only

<shopping-basket amount="13.89" currency="EUR">
    <items>
        <item article-number="12345" quantity="1" tax-rate="19" unit-price-gross="9.99">Testproduct</item>
        <item article-number="Discount" quantity="1" tax-rate="19" unit-price-gross="-2">Voucher</item>
        <item article-number="Shipping" quantity="1" tax-rate="19" unit-price-gross="5.9">Shipping costs</item>
    </items>
</shopping-basket>
attention

This setting should only be used, if an external system cannot handle the -element. Misconfiguration will result into rejected operations.

Partial delivery for instalments

Out of the box it's possible to send partial delivery information to Ratepay for orders with the payment method instalments. Depending on your processing time of an order it is possible to delay the capture notification until all items of an order are shipped and so an aggregated instalment plan can be created for the customer.

ESD products

Electronic Software Distribution (ESD) or digital products are now supported by Ratepay. Due to the fact that there is no physical delivery neccessary for thise type of goods, the module will send an capture information for this articles directly after the successful order.

Additional adress lines

If you are using the Shopware feature for additional address line you can customized which address line you would like to transmit towards Ratepay.

Customizable payment states

Payment states can be customized for each payment method. Predefined states will be automatically set to order after successful checkout.

setup8

Device Fingerprinting

The Snippet-Id is an individual key and you get it when registering for the services of Ratepay.

setup9

Instalment information on product page

With this option you can add an indication of the estimated instalment amount and runtime for the configured Ratepay instalment or 0% financing product. The calculation is done based on the maximum available runtime and under consideration of the unit article price.

setup10

setup11