Open bavodeclercq opened 1 year ago
I can't seem to reproduce this issue using getPaymentFormHtml()
could there be a mollie side setting I am missing?
Diving into Craft Commerce's paymentsController and debugging within the actionPay function, it appears that the parameter name for payment methods should be more specific. Instead of just paymentMethod
, it should be paymentForm[mollie][paymentMethod]
. Making this adjustment resolves the issue for me. I'm unsure whether this change originates from Commerce or Mollie themselves.
Description
On the front-end, I'm using the
gateway.fetchPaymentMethods()
function to list payment methods as radio buttons. Previously, when a radio button was selected and the form was submitted, the user would be taken directly to the corresponding payment method in Mollie. However, the current behavior is different. After selecting a radio button and submitting the form, instead of being directed to the chosen payment method in Mollie, the user is taken to the general "select-method" page on the Mollie side. This requires the user to make the same selection again.I also attempted to use the
gateway.getPaymentFormHtml([])
function, but the issue persists in this scenario as well.Steps to reproduce
gateway.fetchPaymentMethods()
.Additional info