#debbbole

1 messages ยท Page 1 of 1 (latest)

errant mirageBOT
visual urchin
#

๐Ÿ‘‹ happy to help

timber aspen
#

the "blue" message is the one i'm talking about: our sub costs 99โ‚ฌ/year, the current user can pay 50โ‚ฌ for the first year (and apply a special corporate discount, 15โ‚ฌ one shot), but he/she will pay 99โ‚ฌ/year in the next renewals... the message is assuming he/she will pay 50โ‚ฌ because we setup the session with that special price (that will be upgraded after we receive the notification checkout.session.complete)

#

hi @visual urchin ! really tnx! ๐Ÿ™‚

#

we are doing this because the Checkout session/paywall supports only one discount at a time, so we managed to achieve this "playing" with prices

visual urchin
#

I'm reading through your message, will be with you shortly

timber aspen
#

take your time, my "fault": it's a wall-of text ๐Ÿ˜‚ i tried to describe my scenario to help understand the choices we made ๐Ÿ˜ƒ

visual urchin
#

with that the coupon would only be applicable on the first year of the subscription and the message should reflect that

timber aspen
#

but this way the user couldn't add any other coupon

#

we need to let the user add another coupon, Checkout Session supports only one coupon

#

we are "upgrading" the subscription from 50โ‚ฌ/year to 99โ‚ฌ/year after the checkout.session.complete event, we just need to tell the user the truth ๐Ÿ˜‚ but i can't find any way to customize that message

visual urchin
#

sorry I might be a bit lost

#

just give me a sec to re-read your initial message

timber aspen
#

i'll try my best to describe it, sorry in advance for my english ๐Ÿ˜ƒ :

  • we have 99โ‚ฌ subs
  • we offer special corporate discount codes
  • we offer special 1st year subs prices of 50โ‚ฌ in some use cases
  • the checkout session supports only 1 discount code, so we cant create the session as usual and add a coupon, because this will prevent the user to "stack" his corporate discount
  • so, we are creating a session with the 50โ‚ฌ price and no attached coupon, this way the user can add another discount code on the paywall
  • when we receive the checkout.session.complete event, if we find it as a "special 50โ‚ฌ one" we upgrade the price to the default 99โ‚ฌ price
#

the problem is: in the Checkout paywall there's that blue message telling the user he will pay the special 50โ‚ฌ price in the following renewals, but we would like to tell him the real future renewal price (or disable that message)

visual urchin
#

I see the issue now

#

just give me a moment to think about what solutions do we have here

timber aspen
#

rly tnx! ๐Ÿ™‚

visual urchin
#

I'm trying to test something to try and replicate for you if this is possible or not

#

are you still here?

timber aspen
#

yep, sorry i'm in a call ๐Ÿ˜ƒ

#

i was not responsive but i'm here, rly sorry ๐Ÿ˜ƒ

visual urchin
#

I think it's better if you write to https://support.stripe.com/contact/email?topic=api_integration and mention that you've talked to tarzan on discord, this way I would be able to continue working on this async and will get back to you with my findings. would that be ok with you?

timber aspen
#

yep, it is ๐Ÿ˜ƒ rly tnx for your help! i'll write you soon ๐Ÿ™‚

visual urchin
#

please do let me know when you do

timber aspen
#

ok ๐Ÿ˜ƒ will it be of any use if i tell you (in my email) some plan/price/coupon IDs so you can check for "configuration" problems?

visual urchin
#

yes please add as many details as you can so it would be easier for me to look into it

timber aspen
#

ok, rly tnx, i'll write you asap ๐Ÿ˜ƒ