#degi_code

1 messages ยท Page 1 of 1 (latest)

tidal sorrelBOT
#

๐Ÿ‘‹ 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. Thank you for your patience!

โฑ๏ธ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

๐Ÿ”— 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/1214875500594339861

๐Ÿ“ Have more to share? You can add more detail below, including code, screenshots, videos, etc.

idle kilnBOT
loud mantle
#

Hi
I'm afraid that you can't achieve that using Apple Pay

#

What you can do I think is to set the recurringPaymentStartDate after the trial ends

pine root
#

Yeah, I tried that. Still shows X amount, not 0.
I guess, for now I have to live with it. But it would be very nice to have this possibility in the Stripe.js.

loud mantle
#

Yeah, I tried that. Still shows X amount, not 0.
Yes you'll see the amount and not 0 that's expected and that's how Apple Pay works

#

I guess, for now I have to live with it. But it would be very nice to have this possibility in the Stripe.js.
The issue is that is this a constraint on Apple Pay side and not Stripe side.

#

But yes I understand the confusion here

pine root
#

But on the payment link from Stripe it shows 0

loud mantle
#

That's a different component yeah

#

What you can do is is use Apple Pay with SetupIntents

#

But no sorry you are passing regularBilling object

#

So yeah, the best option is to set the recurringPaymentStartDate

pine root
#

any way to reproduce it?

#

this how Stripe Element looked

loud mantle
loud mantle
#

Can you share more details about how are you creating the Subscription? if possible share its Id. And how are you initiating the PaymentElement ?

pine root
#

attached my code.

loud mantle
pine root
#

I see. Thanks! Do you think this help me to get this 0 amount UI/UX (same as buy.stripe.com/...) :)?

loud mantle
pine root
#

Thank you. I will try that.

loud mantle
#

Np!