#417goose_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1252727558454382602
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi there
Can you share more context on what you mean by vouchers and gift cards exactly?
I guess my question is, how can we push custom payment methods through stripe so the return urls handle it
Imagine on the payment page (with Web elements) but they have a gift card or they have an account and pay via terms so they don't need any of the payment types provided by stripe. But we would like to still have the process be handled through the stripe process. Has this been done before or do we just need to figure out around it
What exactly would still be handled through Stripe in this case? Do you still want to collect some payment details from the customer?
As I type this, I am realizing we're going to have to just go outside of stripe. I don't believe there is a reason to use stripe for this.
?
yes
Ah, you'll need to do this outside of the PaymentElement/before your customer hits the PaymentElement, if that makes sense
I was trying to think thorugh a scenario where a customer has a $100 gift card and a cart worth $150.
So you could have some input form and validation that has them provide the gift card code, use this to determine if it's valid and update their total, and then create a PaymentIntent with the new total and present the PaymentElement so they can pay the difference