#ahmad-confirmcardpayment

1 messages ยท Page 1 of 1 (latest)

tired anchor
wicked fractal
#

hi @tired anchor ๐Ÿ™‚

#

please let me know if you would need further information

tired anchor
#

Can you clarify what you're doing here exactly

#

Note this requires using payment_behavior=default_incomplete as included in the examples here

wicked fractal
#

I understand. We would need to update our integration to follow that pattern. For now since we are attaching that token id directly to the customer, is there a way to retrieve the related payment method id from somewhere preferably from the response of customer or subscription creation?

tired anchor
#

Where do you supply the token when creating the customer?

#

If you have an older integration, you might be attaching as a source

wicked fractal
#

stripe.customers.create({ email: 'test2@test.org', card: tokenId });

#

as a card

#

I am attaching it as a card

#

@tired anchor, it seems like you are on many threads at the same time ๐Ÿ™‚

tired anchor