#tomh0027
1 messages · Page 1 of 1 (latest)
If Payment Element integration is used, Google Pay will be shown as a payment method option when the browser supports Google Pay: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements&client=react
thanks
No problem! Happy to help 😄
can I ask one thing about subscription?
Sure!
I created subscriptions on my Stripe and I am going to let users subscribe to the plans on the React application
do I need to create payment intent in that case?
Nope! Subscription will create an invoice that the invoice will create the Payment Intent automatically for you
You may refer to the guide here: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements
do I need to pass the client secret obtained from the created subscription?
Yes!
and do I need to import the script here?
is there any npm package I can use?
instead?
Are you using React or HTML/JS?
React
This doc doesn't show the React integration steps. You may follow the React guide from Step 3 to 4 here: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements&client=react
thanks, let me check it