pronamic / wp-pronamic-pay-mollie

Mollie driver for the WordPress payment processing library.
http://www.wp-pay.org/gateways/mollie/
6 stars 1 forks source link

Error "The payment method does not support sequence type" for manual renewal with SEPA Direct Debit #23

Closed rvdsteege closed 1 year ago

rvdsteege commented 1 year ago

When trying to manually renew a subscription, subscriptions with the SEPA Direct Debit payment method are resulting in an error:

The subscription can not be renewed.

The underlying gateway error message is:

Unprocessable Entity - The payment method does not support sequence type

This occurs because the subscription payment method is updated to 'Direct Debit' when using the "Direct Debit (mandate via Bancontact/iDEAL/Sofort)" payment methods. Mollie does not support the first sequence type for the SEPA Direct Debit payment method.

I suggest not setting a payment method on manual renewal, so the payment method can be selected through Mollie Checkout.


@rvdsteege: Because of your message I discovered that something strange is going on with the ‘Renewal URL’.; a bug. The renewal URL always starts a payment with the same payment method as that of the subscription. That would mean that if the subscription had been started with, for example, ‘Incasso (authorization via iDEAL)’, you can immediately issue an authorization again for, for example, another account number, but not switch to another payment method (such as credit card).

Due to a change within our plugin, subscriptions for which follow-up payments are debited via SEPA Direct Debit are now all assigned the ‘Direct Debit’ payment method. That in itself is fine, but the Renewal URL now also tries to write off directly via direct debit. So you no longer have the option to change to another account number or issue a new authorization.

Internal Help Scout ticket: https://secure.helpscout.net/conversation/2135599370/25114?folderId=1425710#thread-6367264295