Checkout - Headless Woocommerce Store Question #11069
-
I’m at the checkout phase of development of a Nextjs frontend Headless Woocommerce Store using the store api. I’m getting stuck on the checkout process. I see in the docs it mentions stripe_source. Looking at the stripe documentation source is deprecated. I’m using stripe elements on the frontend to collect payments. Any ideas to get this working would be much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
So I was looking at the source code of WooCommerce Stripe Payment Gateway and in the class-wc-stripe-api it looks like it can accepts both 'src_xxx' and 'pm_xxx'. Can anyone confirm that ‘pm_xxx’ can be used as a value of stripe_source ? Documentation just specifies ‘src_xxx’ |
Beta Was this translation helpful? Give feedback.
-
WooCommerce Stripe Payment Gateway uses 2019 api so you have to use the Deprecated Sources API. From my testing it will only take |
Beta Was this translation helpful? Give feedback.
WooCommerce Stripe Payment Gateway uses 2019 api so you have to use the Deprecated Sources API.
From my testing it will only take
src_xxxx