#nhannguyenvan_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/1263071656729907220
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
hi! PaymentIntents don't support anything like that no. You can build your own UI/logic for accepting a coupon(note, not the ones you actually create in Stripe, since those only work for Checkout or Subscriptions, I mean in general), and then update the PaymentIntent amount in API, though. Or use Checkout.
Atm I want to interacte coupon in STRIPE. Do we have anyway I can update the BE logic to redeeem or trigger one time using coupon after user paid?
Follow maybe like this : Get coupon by api -> User paid with promotion code -> Redeem a coupon .
not really possible using raw PaymentIntents. Can you use Checkout instead?
Do we have any api to redeem coupon after user paid?
no, there's no way to "manually" redeem a Coupon in the API, it can only be redeemed by using it in a compatible product like Subscriptions/Checkout.
yep, thank you so much , can I add friend with you to easier for contact :D?
ah
another question
Can we custom UI if I use Subscriptions/Checkout ?
what sort of customisations are you looking for?
something similar this