Skip to content

ERP Order Management

boxblinkracer edited this page Sep 12, 2022 · 2 revisions

We try our best to give you an amazing experience when connecting to external systems, such as an ERP or Order Management Software.

This page should give you some insights into accessing specific fields that you may need and how to interact with Mollie data.

If you miss anything, just reach out and we try to add it here!

Order Data

We store additional information within the custom fields of an order in Shopware. You can use the Shopware API to fetch this data.

Even though we try to avoid breaking changes, please understand some of these fields as subject to change. Some of them are for internal use only, and we just started to expose those fields here for further usage.

Basic Data

Every order comes with a few fields that exist for all types of payment methods. These included the Mollie Order ID, Mollie Transaction ID and some basic payment and return URLs. The payment and return URLS are subject to change and might be removed in future versions.

"customFields": {
    "mollie_payments": {
        "order_id": "ord_xyz",
        "payment_id": "tr_xyz",
        "molliePaymentUrl": "https://www.mollie.com/checkout/order/xyz",
        "transactionReturnUrl": "https://my-domain-domain/payment/finalize-transaction?_sw_payment_token=xyz",
    }
},

PAYPAL / SEPA Reference Numbers

PayPal and SEPA bank transfer payments have additional reference numbers for payments. These are stored in a separate field for you. They are displayed in the Administration but can also be accessed through the API.

"customFields": {
    "mollie_payments": {
        "third_party_payment_id": "REF-123"
    }
},

Credit Card Data (since v3.0.0)

Credit Card payments have additional information about the used credit card. The data is already anonymized and does not contain critical data.

"customFields": {
    "mollie_payments": {
        "creditCardLabel": "Mastercard",
        "creditCardHolder": "T. TEST",
        "creditCardNumber": "9399",
        "creditCardAudience": "consumer",
        "creditCardSecurity": "3dsecure",
        "creditCardFeeRegion": "other",
        "creditCardCountryCode": "NL",
    }
},
Clone this wiki locally