Hi there,
In fact, it’s expected that the payment buttons are displayed in the Cart and Checkout pages even if the order total is $0, as otherwise, there wouldn’t be a way to complete the order.
Also, in some cases, like when using WooCommerce Subscriptions, Stripe needs to generate some required payment tokens (even if it’s for a free purchase) to identify the customer and its credit card in Stripe’s end and allow WooCommerce to request further payments for them automatically.
If I misunderstood the problem here, please provide us more details (and some screenshots) of the problem to make sure we’re all on the same page.
Thanks!
I feel you misunderstand the issue. The payment button on the Cart page does prompt for payment information (Google Pay, etc) but on the Checkout page, it does not ask for any payment information if the cart total is $0, even if it is a subscription product. It then changes the subscription to Manual Renewal. So even if payment information is provided via the Payment Request Button on the Cart page, it does not appear to be saved/stored and used for subsequent payments, at least on totals equalling $0 that renew for $0 (if subscription). I can see the benefit of having the brisk checkout option via the button on the Cart page, but it’s counterintuitive to ask for payment information for a free product if that product also renews for free. Hopefully that clears things up a bit. Thank you for such a quick response.
Plugin Support
dougaitken
(@dougaitken)
Automattic Happiness Engineer
Hey there @machineitsvcs
Thanks for clarifying – it sounds like you’re looking for some conditional logic for when the Payment Request buttons (Apple Pay / Google Pay) will show only if the cart final total is more than $0.00. If the order is “free” then you’d like to hide it?
I can see the benefit of having the brisk checkout option via the button on the Cart page, but it’s counterintuitive to ask for payment information for a free product if that product also renews for free.
Billing information is still required for orders which don’t need any payment on WooCommerce but no payment details are required – that logic isn’t passed onto the Payment Request buttons.
I’m sure it’s possible with some custom code but it isn’t a functionality we could offer help with.
I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.
I can also recommend the following places for more development-oriented questions:
- WooCommerce Slack Community: https://woocommerce.com/community-slack/
- Advanced WooCommerce group on Facebook: https://www.facebook.com/groups/advanced.woocommerce/
Thanks,
Hi there @machineitsvcs,
The thread remain inactive for a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.