We’ve observed in our site that, if the customer already has a Paypal account in their saved payment methods, the extra button “PayPal Later” button is not shown in the Checkout page.
We are particularly interested about always showing it. How could we do this?
To confirm I understand the behavior you’re reporting. If a customer has previously saved a PayPal payment method, you’re saying the PayLater button isn’t showing?
I don’t observe that behavior when testing. The PayLater button is showing when a returning customer has a previously saved PayPal payment method. If the product in the cart is a subscription or pre-order, the PayLater button won’t show since PayLater can’t be used for payments which require vaulting the payment method.
PayPal only supports PayaLater for one time purchases, not products which require recurring payments.
For anonymous users, or for registered users without a Paypal payment method in their account, the Checkout page replaces WooCommerce’s default “Place Order” button with the two Paypal Buttons.
In our page, if the user already has a registered Paypal payment method associated to their account, when the saved account is selected, the Checkout page doesn’t show the typical Paypal buttons to proceed with the payment, but only the original WooCommerce’s “Place Order” button:
In this example, the selected cart doesn’t include any subscription. However, the current user has an active subscription paid through Paypal, with the saved account.
If the user selects “New Account” the two typical Paypal buttons (the standard PayPal one and the one from Paypal Later) are shown.
That’s expected behavior, the plugin is designed that way. If a saved payment method is selected, then the Place Order button will be visible since the customer doesn’t need to click a PayPal button. If they select the New Account option then the PayPal buttons will become visible.
Showing the PayPal buttons when a saved payment method is selected would defeat the purpose of offering a saved payment method.
Could we have an option, or even better, a filter to decide if the “Saved Account” or the “New Account” radio button is selected by default?
Yes, we can add a filter to the next release. You could also just modify the payment-methods.php template file by adding it to your theme. It works the same way as WooCommerce templates. Here is a tutorial
You could remove the checked attribute for the saved payment methods radio button.
Kind Regards
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘PayPal Later button not shown in Checkout if user has saved payment method’ is closed to new replies.