Hello @krokedil,
we got this JSON:
{"errors":{"order.Currency":["UNSUPPORTED CURRENCY 'EUR'"]}}
03-04-2020 @ 09:26:38 - DIBS Create Order request args: {"headers":{"Content-type":"application/json","Accept":"application/json","Authorization":"XXX","commercePlatformTag":"WooEasyKrokedil"},"user-agent":"WordPress/5.3.2; landmann.com/scand - Plugin/1.15.0 - PHP/7.3.15 - Krokedil","method":"POST","body":"{"order":{"items":[{"reference":"11140","name":"Product","quantity":1,"unit":"pcs","unitPrice":12720,"taxRate":2500,"taxAmount":3180,"grossTotalAmount":15900,"netTotalAmount":12720},{"reference":"shipping|table_rate:7","name":"Standard Shipping","quantity":"1","unit":"pcs","unitPrice":5520,"taxRate":2500,"taxAmount":1380,"grossTotalAmount":6900,"netTotalAmount":5520}],"amount":22800,"currency":"EUR","reference":"6976"},"checkout":{"termsUrl":"XXX","returnUrl":"XXX?key=wc_order_XXX","integrationType":"HostedPaymentPage","merchantHandlesConsumerData":true,"shipping":{"countries":[],"merchantHandlesShippingCost":false},"consumer":{"email":"XXX","shippingAddress":{"addressLine1":"XXX","addressLine2":"","postalCode":"XXX","city":"XXX","country":"SWE"},"phoneNumber":{"prefix":"+46","number":"XXX"},"privatePerson":{"firstName":"XXX","lastName":"XXX"}},"consumerType":{"supportedTypes":["B2C","B2B"],"default":"B2C"}},"notifications":{"webHooks":[{"eventName":"payment.checkout.completed","url":"XXX\/wc-api\/DIBS_Api_Callbacks\/?dibs-payment-created-callback=1","authorization":"XXX"}]}}","timeout":10}
03-04-2020 @ 09:26:39 - DIBS Create Order request response: {"headers":{},"body":"{"errors":{"order.Currency":["UNSUPPORTED CURRENCY 'EUR'"]}}","response":{"code":400,"message":"Bad Request"},"cookies":[{"name":"visid_incap_1152503","value":"XXX","expires":1614786169,"path":"/","domain":"dibspayment.eu","host_only":false},{"name":"incap_ses_374_1152503","value":"XXX","expires":null,"path":"/","domain":"dibspayment.eu","host_only":false}],"filename":null,"http_response":{"data":null,"headers":null,"status":null}}
03-04-2020 @ 09:26:39 - DIBS Error Response: "{"errors":{"order.Currency":["UNSUPPORTED CURRENCY 'EUR'"]}}"
Best regards,
Dennis