Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Multiple request payment buttons for Stripe

$
0
0

Replies: 0

Hey,

Tl;dr; Multiple Stripe request payment buttons not working in single product page.

I’ve just opened a WC store (still work to do) and my payment partner is Stripe. I’m using the default Stripe integration that comes with WooCommerce. In addition I’d like to use the request payment buttons (disabled for now).

In the store, I have single product pages and in addition to the default cart form I’m showing a second cart form that is fetched from a linked product. So, two cart forms in single product page. Example /product/light-panty-liners/ where if you click “Subscribe and save” the other form will show up.

The problem is, the payment button gets output only for the first cart form. You can’t see that now, since the request buttons are disabled in Stripe settings but if needed I could set up a test environment and reproduce the problem but if somebody has a solution ready, I’d appreciate that very much!

I tested it with multiple devices. The second form (which is shown initially) only has an empty stripe div after the quantity select when the buttons were enabled.

Thanks in advance 🙂


Iikka


Viewing all articles
Browse latest Browse all 59525

Trending Articles