#toxiCity

1 messages · Page 1 of 1 (latest)

river citrusBOT
hardy geode
#

This is on the backend side

#

I want the one with forms

nova lodge
#

Can you share what you would like to achieve? Updating a Setup Intent can only be performed in API

#

Not at client StripeJS

hardy geode
#

I see. for the update of the setup intent, Can I also change the card number cvc and valid until values?

nova lodge
#

Can you share what your use case and what you intend to update?

hardy geode
#

for example, a user wants to change his current card for the setup intent

#

how will I achieve that

#

I will need input from the user then send to backend

nova lodge
#

If the Setup Intent has been succeeded for current card, you should create a new Setup Intent to collect the new card.

Once a Setup Intent is succeeded, it can be updated to collect new payment method. You should use Setup Intent instead.

hardy geode
#

is there a way to just update the card?

nova lodge
hardy geode
#

but the same setup intent

nova lodge
#

When you mean updating the existing card, which field specifically?

#

Is it the card number, or just expiry?

hardy geode
#

I mean, the user want to update the card for the payment. new card number, cvc and valid until

#

basically a new card but the same intent

#

also is there a way to display the current billing method

nova lodge
#

That's not possible. You must use new Setup Intent to collect a new a new card

hardy geode
nova lodge
#

You can't update the card number in existing Setup Intent

hardy geode
#

so this API for update is only usable for what purpose

nova lodge
#

This is generally used to update before the Setup Intent is succeeded or change its description

#

Once the Setup Intent is succeeded, there isn't much that it can be updated

hardy geode
#

ok

#

and the existing card cannot be displayed?

#

is that correct

#

how do other companies display their current billing method

#

from my other apps, I can see the last digits of my card

nova lodge
hardy geode
#

ok thanks. got the gist now