#_greggles_

1 messages · Page 1 of 1 (latest)

south anvilBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

solar trench
#

Hello there

idle kraken
#

Hi there. Sorry for the general nature of the question but I'm a bit confused.

solar trench
#

No worries

#

It is a common question

#

It used to be required to create a PaymentIntent first

#

But now we support the deferred-intent flow above which is likely what you want

idle kraken
#

The documentation looks like it's necessary to pass a currency amount rather than a subscription price ID.

solar trench
#

That's correct -- that is so the correct Payment Method Types are shown to the customer

idle kraken
#

So we'd pass a default currency amount in order for the payment element to mount but do I need to change that amount if the customer chooses a different option?

solar trench
#

You would want to update the amount using elements.update() on the frontend, yes. This ensures that things like wallets (Google Pay and Apple Pay) would show the correct amount.

idle kraken
#

OK great, thank you.

#

Thank you @solar trench , this is helpful. If I have additional questions should I come back to this thread or create a new one?

solar trench
#

Threads are closed after a period of inactivity but you can always post again in the main channel if that is the case!