#Damian
1 messages ยท Page 1 of 1 (latest)
What do you mean that the price is already there? Which integration type are you using? Checkout Session or Payment Element? Can you share an example Payment Intent ID (pi_xxx)?
I am currently in the early stages of preparing this project. What I am aiming for is a flow similar to what takes place on Humble Bundle.
On the Humble Bundle website, the user selects the amount they want to pay. Then, when they choose the option to pay through Stripe, they are redirected to it with the amount they selected on Humble Bundle.
They do this using buttons, as seen in the picture, rather than using a predefined small Stripe window.
This is how the client specifically wants it, and I'm not sure how to accomplish this.
And I'm not sure if should I use checkout session or payement element to accomblish that
Checkout Session is Stripe hosted payment page whereas Payment Element embedded in your website
Checkout Session is easier to integrate that customer will be redirect to Stripe hosted payment page to complete the payment
If you wish customer to stay within your website to complete the payment, Payment Element should then be used
Ok so it should be Checkout Session - because also in humble bundle you're ridirected
Yup! You may follow this guide for your integration: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout
Ok, thank you. I will read all of this ๐
No problem! Happy to help ๐
I apologize for grumbling.
But do you know if in the case when it will be an option for donations only - and the user selects the amount of the donation the same as above. Is it the same process? I can do it as product or should i make it different ?