#sarita_21302
1 messages · Page 1 of 1 (latest)
You will need to create a product and price first before creating a Payment Link: https://stripe.com/docs/payment-links/create
Thanks. What I want to achieve is have 3 set amounts and one custom amount field to accept donations. What will be the best way to achieve this? with custom style/branding. -so If I can send an amount value to stripe checkout to accept payment. Thanks in advance for your help.
Hi @bitter acorn I'm taking over this thread
Thanks
This is how you create a payment link with a custom amount
Thanks. What I want to achieve is have 3 set amounts and one custom amount field to accept donations. What will be the best way to achieve this? with custom style/branding. -so If I can send an amount value to stripe checkout to accept payment. Thanks in advance for your help.
And use stripe to accept payment
On click of 'Next Step', can I set an amount field and redirect to stripe checkout/payment link to complete payment process?
OK, I'd suggest you to create four payment links that corresponds to $2, $5, $10 and custom amount
Yes, I have them all setup
I can link the fixed amount links to 3 buttons on the top and on 'Next step' click can redirect to the corresponding links
but not sure how to custom amount can be set
No you can't set the custom amount I'm afraid
so what is the alternate?
One way is to remove the other amount field and let your customer specify the amount in Stripe checkout page. But you should discuss it with your desinger and engineer
What is payment intend?
If we custom-build the above layout and want to show stripe payment/checkout page for selected amount to collect payment - Is there a way to achieve it using stripe api? Does paymentIntent or any thing else provide this feature? Sorry for asking too many questions
Sure, PaymentIntent will give you more flexibility here and you can pass the custom amount to PaymentIntent https://stripe.com/docs/api/payment_intents/object#payment_intent_object-amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements follow this guide to use PaymentIntent + PaymentElement