#LcO-Checkout

1 messages · Page 1 of 1 (latest)

barren dome
#

Hi

#

I believe if a customer has their invoice_settings.default_payment_method set up, and if you pass their customer Id into the Checkout Session creation then the saved card will be displayed

#

On Customer Portal, you would need to mark the card as default

upper dagger
#

On the customer object, the payment method is set in InvoiceSettings.DefaultPaymentMethodInfo

#

It also shows as default on the billing portal

barren dome
#

Can you provide the Customer Id and the checkout link?

upper dagger
#

should i do that here?

lilac wind
#

Hi! I'm taking over that thread.

#

Yes, sure, you can share the IDs here.

lilac wind
#

In this case the default payment method of the customer is missing some of this information, so it's expected to not be shown on the Checkout page.

upper dagger
#

ok, understood

#

interestingly when i process a payment for a subscription, the payment method is added to the billing portal

#

but again, I still can't use it..

#

can I enforce both the checkout and the billing portal to ask for all necessary details?

#

how can i add billing information to that payment method?

#

also can't add any details here when adding a payment method from the billing porta

lilac wind
#

can I enforce both the checkout and the billing portal to ask for all necessary details?
I don't think so.

upper dagger
#

when I fill in anything i can, it still doesn't show up

#

but it doesn't give me the option to put in a billing address on the payment method

lilac wind
#

yes exactly, I don't think it's possible to use the customer portal and see the payment method displayed in the Checkout Session page. Unless you manually call the API to update the payment method to add the missing information.

upper dagger
#

ok, good to know. I guess I'll end up with doing the UI-work for the customer portal on our end then. too bad - would have been nice to use the hosted services

lilac wind
#

yes agreed! I can forward that feedback to the relevant team.

upper dagger
#

thank's a lot for the quick help