#mickiewicz

1 messages · Page 1 of 1 (latest)

wary flaxBOT
molten epoch
#

Hi there

#

In payment mode, the customer’s most recent card payment method will be used to prefill the email, name, card details, and billing address on the Checkout page. In subscription mode, the customer’s default payment method will be used if it’s a card, and otherwise the most recent card will be used. A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details.

#

So all of that has to be true

#

Otherwise the customer has to enter a new PaymetnMethod

copper eagle
#

Hmm currently we are passing only customerId

#

so email is also required to payment information be prefilled?

molten epoch
#

Yes but that info all has to be associated with the PaymentMethod itself. It is a bit tricky in that way

copper eagle
#

Ok, so I will try to pass email together with the customer ID

molten epoch
#

Yeah but you also need to make sure those things are collected on the PaymentMethod, not the Customer

copper eagle
#

hmm so if a customer create a payment method in the stripe customer portal those informations are not assigned to this payment method?

molten epoch
#

I don't believe that information is forced via the Customer Portal, no.

#

I don't recall though, you'd need to test it.