#Ritva
1 messages · Page 1 of 1 (latest)
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?
Can you share a pi_xxx ID?
payment intent?
Yes
pi_3N5lMCGPzB0sOwRz0gLQ1brn_secret_4BpHQSCahjlB7JfedcDR3xfKU
cus_NrUK2mez5ZB3h0
can you guide me for backend code
?
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?
i miss somethig from backend
can you guide me?
for display saved card for that customer
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