MultiSafepay / magento2-graphql

MultiSafepay GraphQL module for Magento 2
Open Software License 3.0
7 stars 2 forks source link

Direct Debit Payment #5

Open Citizen4our opened 2 years ago

Citizen4our commented 2 years ago

Direct Debit Payment have a Additional checkout fields settings in Admin. If selected - "No, redirect to the MultiSafepay payment page" I am getting the following error when tried set multisafepay_directdebit without params:

{ "errors": [ { "message": "Required parameter \"multisafepay_directdebit\" for \"payment_method\" is missing.", "extensions": { "category": "graphql-input" }, "locations": [ { "line": 2, "column": 3 } ], "path": [ "setPaymentMethodOnCart" ] } ], "data": { "setPaymentMethodOnCart": null } }

It looks like this admin setting is not checking when using GraphQl requests for direct debit payment. But if set account_holder_name, account_holder_iban params - you will see payment link when placing order. I think need to change these params is optional and depend on ^^ admin setting. Thanks in advance)