Standalone Pay Later
-
Thanks for plugin, is there any option to make standalone Pay Later button, maybe in future release? Or if you could point out file to edit to enabled this feature it would be nice.
-
Hello @wsjrcatarri
Thank you for reaching out to us, we are here to help.
To answer your question: No, there is currently no option to show any Alternative Payment Method by our plugin (which Pay Later also falls under) when you are not showing the PayPal payment option. This is a restriction that is required by PayPal and there is nothing we can do to change this.
Also, when you would try to use CSS to hide the PayPal button, it would not work, because all the payment methods are shown in an iFrame and this does not allow you affecting the content of this element. This is all controlled by PayPal; not the plugin.
I am sorry to say this, but I don’t have any solution for this, neither do I expect there to come a solution for this, since this behavior is implemented intentionally. For this reason, I will mark this thread as resolved. Feel free to reply or create a new thread if you have any more questions for us.
Kind regards,
JoostThanks, and what about this? https://developer.paypal.com/docs/checkout/standard/customize/standalone-buttons/
Hello @wsjrcatarri
It is correct, you can show individual Alternative Payment Methods, since you can block any one of them to not be shown. However, this is only possible when you have the PayPal option active. If you disable that, the Alternative Payment Methods will also not show.
Kind regards,
Joostyes, exactly, I will have 2 options: paypal button and pay later, 2 separate options, 2 separate gateways(as you did for card method). Is there a way I can do this?
I can extend wc_payment_gateway and also have plugin from github with yarn install and so on. if it is possible, can you give me a road how to implement this ?
-
This reply was modified 2 years, 4 months ago by
EvelynWaugh.
-
This reply was modified 2 years, 4 months ago by
EvelynWaugh.
Hello @wsjrcatarri
I am not sure what you are asking here. But the bottom line is: if you want any of the Alternative Payment Methods to show, you will need to display the PayPal Payment method as a minimum. Without that, you can’t display any of the Alternative Payment Method.
Let me know if you have any more questions.
Kind regards,
JoostHello, sorry, I thought I was clear.

Your plugin provides separate gateway for paypal credit card. I want make separate paylater gateway, so these two buttons will be separated. is this legal ?
Hello @wsjrcatarri
If that is legal, you would need to ask PayPal Merchant Support, this is not something we would know. We develop the plugin to PayPal’s specifications.
However, I don’t think it will be possible, since these buttons are displayed in an iFrame, so splitting these buttons should not be possible. If you have any way you can do this, we would be happy to hear from you how you do this and ask for a response on this from our team.
Kind regards,
JoostThaks, I dont have deep acknowledgement in paypal, but what if (according to paypal docs) for first button use just:
var button1 = paypal.Buttons({fundingSource:paypal.FUNDING.PAYPAL});and for second button:
var button2 = paypal.Buttons({fundingSource:paypal.FUNDING.PAYLATER});And then show first button when paypal gateway selected, and show second button when paypal paylater selected.
Hello @wsjrcatarri
If you want, you can test this, however, I am being told by my team that this is not possible. There is not much more I can do after that. Sorry about that.
Kind regards,
Joost -
This reply was modified 2 years, 4 months ago by
The topic ‘Standalone Pay Later’ is closed to new replies.