#ryo_ymd

1 messages · Page 1 of 1 (latest)

twin swanBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

astral vale
empty lichen
astral vale
#

You can listen to checkout.session.completed event, get the customer and payment_method from the session object, and call the update cusotmer API to set the invoice_settings.default_payment_method

empty lichen
#

I see! I understand!

By the way, which API should I use to retrieve the payment methods set by my customers?

#

Stripe::Customer.retrieve_payment_method looks good. Ignore it.

#

The question has been resolved. Thank you very much!