#nemoai_api
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/1326472573348876350
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Here are guide on how to customize Checkout branding or look and feel: https://docs.stripe.com/payments/checkout/customization
This is the layout I got:
It doesn't look good
We would look like this:
We managed to make it look like this with the this api:
stripe.PaymentIntent.create
but there is no Coupon support with this api, am I correct?
I would like to understand If this kind of layout can be done with the second approach?
stripe.checkout.Session.create
stripe.Webhook.construct_event
STRIPE_WEBHOOK_SECRET
Since the url is generated by Stripe's side
I don't think we have that level of flexibility in appearance customization in Checkout
unfortunately
So if I would like it to look like this, what should I do?
You could consider looking at PaymentElements, which is an embeded approach, which gives you more freedom but takes more efforts for implementation
Can you please share with me the relevant documentation? i'll look into it
Thank you
You can start here: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements
Thank you Vanya, Does it have support to coupons?
This is an advanced custom integration, that only supports providing the final amount. You will need to implement the coupons functionality yourself.
So I won't be able to leverage the coupons functionality built-in which stripe offers?
like:
- adding coupons?
- Seeing statistics of coupons usage
- managing coupons (removing/modifying coupons)
etc.
Correct
Are you sure?
Are you a Bot? or a human being?
I am a human
Yes, I am sure. When using Payment Element you only provide the final amount. All discounts/taxes/etc. need to be calculated on your own.
Got it,
so in the company's product's backend I should manage all the coupons stuff, that's what you're suggesting?
Is there no other solution?
"Manage coupon stuff" in the sense that you have to implement your own discount system. It won't work with Stripe Coupons.
So I can use the built-in "Manage coupon stuff" only If I use stripe.checkout.Session.create
stripe.Webhook.construct_event ?
(Just want to understand the issue better)