WooCommerce Germanized Multi Step Checkout
-
Hi,
I’m using WooCommerce 2.5.2, WooCommerce Germanized 1.5.1 and the Paymill Plugin 1.10.7 with the PayFrame (although direct integration has the same results).
The plugin doesn’t work correctly with the multi step checkout in WC Germanized. I’m using only the SEPA option for now and it seems to try to validate the IBAN etc. after the first checkout step, but the PayFrame is only visible on the second step, so you can’t enter the data yet.
Germanized has alle the fields in the HTML and just hides them for the multi-step checkout. So I changed paymill.js to only call
bridgePreparePayment()
on the second step, which makes it work, somewhat.
Line 50, from
jQuery(paymill_form_checkout_id).on('checkout_place_order', function(event) {
to
jQuery('body').on('click', '#next-step-payment', function(event) {
Then I played around with the new Custom Key fields, with no success.
bridgePreparePayment()
gets called onpaymill_form_checkout_id
, which is always the same in WC Germanized.And even then there are some bugs if you go back to the second/payment step (enter wrong data, doesn’t get validated again).
So instead of hacking further I have disabled multi-step checkout for now, which works, but is also risky from a legal standpoint in Germany.
It would be really useful if the Paymill plugin natively supported the Germanized plugin.
Thanks
Robert
- The topic ‘WooCommerce Germanized Multi Step Checkout’ is closed to new replies.