[Paypal Plus] Add "update_checkout" Trigger during Payment Selection
-
Hy,
We are preparing the usage of your plugin for Paypal Plus in Germany.
We have two problems with the Paypal Plus integration, because we have one payment method, which limit the shipping methods to “Pickup” and remove shipping cost. So we need to trigger “update_checkout” during selection.
Because we have the luck to have a contact with “Paypal integration developer”, I get the info, the “enableContinue” function is called every time the selection is done. So I add
jQuery('body').trigger('update_checkout');
to your “setPayment” method and get this running.The second problem is the limit of 25 chars for third Party payment methods. Your plugin don’t truncate additional chars, which result in wrong payment method is set. (We modify payment names to less then 25 chars now, because truncated labels looks terrible)
I tried to push the change to your github repo, but it looks like you already started to separate Paypal Plus in extra Plugin.
Additionally I add the imageUrl parameter to thirdPartyPaymentMethods Array with correct values, but it isn’t shown. I’m asking our contact because of this.
Regards,
Stefan
- The topic ‘[Paypal Plus] Add "update_checkout" Trigger during Payment Selection’ is closed to new replies.