#gaurav_api

1 messages ¡ Page 1 of 1 (latest)

silver finchBOT
#

👋 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.

junior blade
#

hello! how can I help?

opal garnet
#

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.

junior blade
#

those portions that you mentioned are not customisable

opal garnet
#

can we remove them?

junior blade
#

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

opal garnet
#

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

junior blade
#

What do you mean by manage this any other way? Can you give an example?

opal garnet
#

give the 10% discount if they add any addons during signup without using the coupons

junior blade
#

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

opal garnet
#

with the current checkout it is also collecting the plan info right?

#

with Payment Elements it will not?

junior blade
#

what plan info are you referring to specifically?

opal garnet
#

The Plans customers will choose at the time of the sign up. Base plan + addons

junior blade
#

that's all something you have to build also

opal garnet
#

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?

junior blade
#

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

opal garnet
#

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

junior blade
opal garnet
#

Thanks for your help Alex.

junior blade
#

feel free to reach out again if you're running into issues!