#tony_cat

1 messages · Page 1 of 1 (latest)

pastel ember
#

Hey, can you clarify what you mean by 'bind card'?

hasty aurora
#

add card

pastel ember
#

You mean like saving it for future payments?

hasty aurora
#

what if user add a wrong card, but user did know it.

#

yes

#

but just after pay success

pastel ember
hasty aurora
#

Seems not resolve my issue.I can add card. but I don't want add card when user tap "Add" button. I want user add the card after pay success.

pastel ember
#

Are you using Customer objects? I guess you would do this with webhooks. Listen for the payment_intent.succeeded event and then attach the Payment Method to the Customer

hasty aurora
#

Got it.

#

And can I get payment method when I create a PaymentIntent ?

pastel ember
#

Generally we don't recommend attaching that way though as it can be potential auth side effects with future payments

hasty aurora
#

Got it.