#Ritva

1 messages · Page 1 of 1 (latest)

desert summitBOT
rare oriole
#

Do the cus_xxx objects you're using in your integration have saved payment methods? Are you passing them to the customer param when creating the PI? Are you using Ephemeral Keys?

wise salmon
#

this is code from react native side

rare oriole
#

Can you share a pi_xxx ID?

wise salmon
#

payment intent?

rare oriole
#

Yes

wise salmon
#

pi_3N5lMCGPzB0sOwRz0gLQ1brn_secret_4BpHQSCahjlB7JfedcDR3xfKU

#

cus_NrUK2mez5ZB3h0

#

can you guide me for backend code

#

?

rare oriole
#

cus_NrUK2mez5ZB3h0 doesn't have any saved payment methods, so I'm not sure why you'd expect any to be surfaced on the Payment Sheet?

wise salmon
#

i miss somethig from backend

#

can you guide me?

#

for display saved card for that customer

rare oriole
#

But that Customer has no saved cards

#

You need to actually save a card to that customer. You probably want to pass setup_future_usage to your Payment Intent on creation so that we will save the card during a successful payment

#

And then for subsequent payments for that same Customer, the saved should be available in the Payment Sheet