#Partner
1 messages · Page 1 of 1 (latest)
are you asking how to collect the payment method details on the frontend?
Yes I think so.
In one time payment I sent client_secret from backend to front end
In front end I used react stripe
Then confirm payment with client secret in front end side
In subscription I can't find client secret
After create subscription in backend how can I confirm payment in front end side?
have you gone through this step : https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements#create-subscription?
did you expand the latest_invoice.payment_intent?
subsequently you can follow a more detailed set of steps here that also cover React, for how to collect the payment method client-side : https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#web-collect-payment-details
Let me check