#smarcet_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1337526130856558705
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
basically need to charge a custom fee ( per customer ) if they change the payment method , thing is that payment intent is generated with the original amount
Hi, yes you'd want to follow this integration guide instead: https://docs.stripe.com/payments/build-a-two-step-confirmation
You'd collect the payment method details first, and you look at the payment method type used. Depending on the payment method type used, you can then decide to create the PaymentIntent which you control how much to pass on the amount.
ok, but then i lose the ability to use PaymentElement ?
also if i dont have the ability to use PaymentElement i can need to configure each payment method by hand ? bc PaymentElement provides that out of the box
nm i just get it
ok will try that thx for the info
much appreciate it
No, you still use the PaymentElement: https://docs.stripe.com/payments/build-a-two-step-confirmation?client=js#web-collect-payment-details that is on step three.