#mkkumawat3333
1 messages · Page 1 of 1 (latest)
Hi there
No shouldn't need to pass any parameters. Do you have Link enabled in your Dashboard here: https://dashboard.stripe.com/settings/link
Yes, It is enabled.
What browser are you using?
Can you provide a Checkout Session ID?
And do you see a different wallet (like Google Pay) instead of Link?
Thanks give me a moment to look
Sure
@wet wraith Any update?
Sure, Thanks
You said: If I set address field in Customer object, Is it going to prefill the billing address with same address in stripe checkout?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I have tried to create an customer object with address but it is not prefilling the billing details on the checkout page. I have passed the same customer id which returned the below code.
$customer = $this->stripe->customers->create(
[
'address' => [
'city' => 'Manteshire',
'line1' => '295 Murazik Island',
'postal_code' => '59164',
'state' => 'Virginia',
],
'email' => 'manoj@test.com',
'name' => 'Manoj Kumawat',
]
);
Ah I'm sorry I was moving too quickly
You can prefill the email address
You will only prefill the billing address if there is a collected PaymentMethod that has all of the necessary pieces completed
Those necessary components for the payment method are described in what I linked above
A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer’s card details.
Any update on the first one?
We are still looking into that
Hi there 👋 taking over, as my colleague needs to step away
I'm still working with internal folks to get clarity on this. I'll circle back once I have more info.
Sure, Thanks