#mentijm-checkout-prefill

1 messages · Page 1 of 1 (latest)

serene turtle
#

Not sure if this will work with mode: 'setup' however

dusty atlas
#

Hi! We're passing the customer parameter but the hosted page is starting out blank

#

And I guess that makes sense if the customer would like to add an additional payment method

#

But can we use that setup session to update one

#

send a payment_method_id or similar

serene turtle
#

There's no way to pass a specific Payment Method ID, no

serene turtle
dusty atlas
#

Ok, so if we're looking for that functionality we would first have to make a call to delete the payment method on the customer

serene turtle
#

So if they've yet to make a payment, it'll likely be blank

dusty atlas
#

and then do the setup?

#

Aaah ok

#

that might be the case

#

thank you

serene turtle
#

I just don't think mode: 'setup' will prefill regardless. The whole purpose of that mode is to capture new payment method details