#laorik

1 messages · Page 1 of 1 (latest)

west lagoonBOT
unborn willow
#

so on our backend when we look at the customer's cards it seems to return 'no cards'
What are you looking at specifically?

#

Can you share an example customer ID and perhaps a request example from what you check?

bitter dust
#

customer: cus_LPvqGXVFiLtTig
(two of the cards on there are created through this payment sheet, one is created via a form on our admin portal)

we're using the ruby sdk specifically to look at the customer cards
@stripe_customer = Stripe::Customer.retrieve(@customer.stripe_customer_id)
and then calling .cards or .sources on that response object

it only returns cards created through our backend form (which all have the card_ id prefix)

#

I guess to make a long question short, is it possible to use the payment sheet to create card on a customers account and then use those as sources on charge (not payment intent) calls?

unborn willow
#

No, it seems like you're mixing old and new integration patterns which I wouldn't recommend and aren't meant to work together

#

The older source card_123 objects are compatible with payment intents for backward compatibility, but not the other way around

bitter dust
#

well thats a bummer, the payment sheet is beautifully implemented and hoped to use it here as well without a major rework of our backend