#alas-checkout-update

1 messages · Page 1 of 1 (latest)

finite narwhal
#

the metadata would be on the SetupIntent, not on that specific event. I strongly encourage you to use the checkout.session.completed event instead and put the metadata on the Session. That event will have all the info you need

vagrant owl
#

@finite narwhal thank you for the response. Where in the checkout.session.completed event will I get the updated card data?

#

will checkout.session.completed contain the metadata too?

finite narwhal
vagrant owl
#

hmmm.. i probably got the payment method update process all wrong. Can you please point me to the documentation which describes how to update payment method by creating session?

plush bane
#

Yes that's right, you can use checkout with mode=setup to collect a payment method

#

(or updating the customer default for invoices)