#Perry

1 messages ยท Page 1 of 1 (latest)

vast fiberBOT
errant totem
#

Hi! Let me help you with this.

#

It depends how the PaymentMethod was created.

wise pilot
#

Hello

#

What do you mean by how the payment_method was created? like how many ways are there? and which way of creating payment method will suffice my scenario?

errant totem
#

What's your scenario exactly? Do you want to collect payment details without charging, and then use it multiple times in the future?

wise pilot
#

yes that is right, my scenario is, i would like to charge customer after their subscription is completed(monthly subscription is handled by Gocardless), so once this subscription ends i will like to charge the customer their initial payment via payment_method_ID
first time i am using PM_ID for joining fee (for subscription) and then after a year once subscription ends would like to charge them via PM_ID (credit card or apple pay, whatever customer choose in first place)

errant totem
#

It will let you collect a Payment Method and ensure it can be used for future payments.

#

You can choose between Stripe Elements or a hosted Stripe Checkout.

wise pilot
#

Yes i am following this document, so PM_ID which is result of setupIntent will then be used in far future as well right? for eg: hotel booking after 2 years maybe, something like that

vast fiberBOT
errant totem
#

Yes, it should work, as long as the card doesn't expire by then or fails for some other reason.

wise pilot
#

Yes that makes sense, for if card is expired, for sure we will not be able to charge the customer anyway, but this is card fault scenario so should be fine ๐Ÿ™‚

spice coral
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!