#fbcosta
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
hi vanya, thanks!
btw you can ignore the PIN part of the question since all cards details are collected online
Yes, Setup Intent is designed to ensure the card can be charged later. However, there is never 100% guarantee the bank will not decide to request authorization again.
You can use off_session parameter when charging a set up card on the backend: https://stripe.com/docs/payments/save-and-reuse?platform=web#charge-saved-payment-method
ok thanks. Is there a limit to the number of times the card can be charged before authorization is required once again? or a maximum time period?
👋 taking over for my colleague. Let me catch up.
unfortunately this is upon the issuing bank discretion and we don't really have control over it
sure, but do you have any guidance based on experience?
it really differs per issuing bank and per card type
you shouldn't really rely on time frames but instead just reactively ask for authorization when the PI is in requires_action status
Ah so does the bank pre-emptively notify Stripe when additional authorization would be required for future charging of the card? or does this status only update when an unsuccessful attempt to charge the card is made?
does this status only update when an unsuccessful attempt to charge the card is made
in this case the PI will fail and the status will change torequires_actionwhich should trigger the flow of getting your customer back to your portal to authorize the payment
regardless of when this should happen in time (maybe twice a day in a row and then none for a year or once a week or whatever)
you shouldn't depend on any timeframe
yes I get that, but is there a way to detect that the payment will require auth before actually attempting to charge the card?
no not really
Ok thanks for your help
could you direct me to the documentation for the requires_actions status?
is there a way to differentiate between a PI failure due to a lack of funds vs auth required?
are you signed in to your account?
and last question: can the same payment intent be used for several charges?
yes
e.g. we capture the card details once and then it is used for several bids on different items
do you mean capture small chunks of the initial amount?
no I mean several distinct charges that are linked to the same card
Oh no you'd have to create new Payment Intents each time but you can save the card details I'll send you the docs for that
yes but we wouldn't need to ask for the card details again right? a new PI would be created automatically on the backend when a new bid is placed?
automatically? I'm not sure I understand what you mean about this
If you're creating the PI then sure
desired flow would be:
- we collect user's card details when they place their first bid
- they place other bids on other items WITHOUT needing to add any more card details
- when the bids are accepted, we charge the same card
this is the flow I shared earlier
ok cool
in a couple of words:
1- you create a PI with setup_future_usage: 'off_session'
2- you collect the payment details
3- in the next PI you use off_session: true to indicate that you're doing this obo your customer