#gaurav_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/1243435373598736385
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! how can I help?
I want to make a few custimisation on the stripe checout page
Its a recurring subcription-based service with a few add-ons available for customers to choose from. Addons are also recurring payments and a few one off.
I want to get customise the line which says Then $49 per month after coupon expires
also the get rid off "for a month" after the 10% discount.
those portions that you mentioned are not customisable
can we remove them?
if you remove the coupon, then it won't show. The display / text that you're referring to cannot be removed / customized if you have a coupon though
We have a bundle discount, if customer sign's up for any addons they receive a 10% off at the time of sign up, can we manage this any other way apart from coupon?
10% off the total
What do you mean by manage this any other way? Can you give an example?
give the 10% discount if they add any addons during signup without using the coupons
no, that's not possible.
Checkout Sessions is in itself a pre-built page with certain expectation of how things will be displayed and how flows will work. If it doesn't fit what you require, the only other option, is to build your own checkout page using the Payment Element.
Using the Payment Element is going to require a great deal more implementation work, because all the Payment Element does is to collect the payment method details. You have to implement your own promo code handling and UI for the checkout page
with the current checkout it is also collecting the plan info right?
with Payment Elements it will not?
what plan info are you referring to specifically?
The Plans customers will choose at the time of the sign up. Base plan + addons
that's all something you have to build also
Just reading about Payment element and it sounds like that is more suited for my requirement.
I have 3 monthly subscription plans on offer along with addons which are either one off payment or recurring addon services.
Can all the plans, billing cycle and customer info still be maintained with stripe if I use Payment elements?
yes, those objects are all still maintained with Stripe because you would still be creating a Subscription, and you can pass in the relevant add-ons in the Subscription object. You have to implement your own logic to determine whether to apply a discount though
https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=subscription - this guide on how to use the Payment Element to collect payment for a subscription might be helpful to go through
Thanks I will read what you have sent, any other documentation you think will be useful, please send it through sO i can read that as well
this link would probably be helpful too :
https://stripe.com/docs/billing/subscriptions/webhooks.
in case you haven't seen this yet, you can use test clocks to mimic the passing of time : https://stripe.com/docs/billing/testing/test-clocks
Thanks for your help Alex.
feel free to reach out again if you're running into issues!