#Sarvesh
1 messages · Page 1 of 1 (latest)
Hello
Hi
We want to charge project flat price to user. So for each project he needs pay through Stripe. What will be the suitable APIs for it. We do not want to redirect user to Stripe for payment. We want to show Stripe payment details form on out website and internally post it to Stripe
we created Stripe account and set Test mode on
Are these just one-time payments?
yes for now 1 time payment but may be in future if client ask then we need to do recurring subscriptions.
I'd recommend starting here: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
ok so we need to create paymentIntent object right and include <script src="https://js.stripe.com/v3/"></script> to show a form to accept the card details
?
which webhook to subscribe to get events for payment sucess / fail ?
It's all detailed at the link: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#web-post-payment
Largely the same front-end flow except the object(s) you create are different: https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements