#ryan.badger
1 messages · Page 1 of 1 (latest)
Hi there, do you mean some payment methods are missing from the checkout page? have you turned on these payment methods on your connected account?
hi there
yes correct, this merchant is only ever seeing card & klarna in their Checkout
but we have them all enabled in our stripe (connect) and they have others enabled in their own stripe account too
you can see its enabled in the merchant's stripe account
and we have it "on" in ours for connect
we also have "Accounts can customise their settings" enabled
so the methods SHOULD come from their account, right?
i've just gone through the list our end and set them ALL to "on by default"
just to check
OK. What other payment methods do you expect to see in the checkout page? I saw the currency is set to USD, so the Checkout page will only display the payment methods that can support USD.
this merchant is trying to activate afterpay
their currency is USD
they are US based ( i think)
and my vpn is set to US
they have afterpay enabled in their Stripe account
and we are using "automatic" as the payment methods - so it SHOULD display whichever methods the merchant has enabled, right?
after setting all methods to "on by default" in our Stripe, its now showing this:
Updating your connected accounts' settings… (340 of 810 completed)
These changes will affect new and existing accounts. This might take a few minutes.
maybe it will help
but im not sure why we need to do anything our end, when the payment methods and settings SHOULD be coming from the connected account directly
BTW - is this thread public or private?
sure, 1 moment
acct_1JTJyQCnSvUy7OQa
since setting all methods in OUR Stripe account to "on by default" the merchant is now seeing these options at checout
but still no 'Afterpay'
Hi @simple shard I noticed that the country shows Indonesia in your screenshot, are you currently testing in a country where After is supported?
👋 Taking over this thread, catching up now
hi
Can you share Checkout Session ID that doesn't have the AfterPay?
ok
evt_3M2pUvCnSvUy7OQa0QuDxttH
pi_3M2pUvCnSvUy7OQa0eECeQ76
req_7twUrgRfWkeQTl
cs_live_a1hcLKviI3zuAy7sigwDMcRKEPQlGHnDHfc4mh4RBCBjA5PBZWKU4fACzc
i can see they have this:
"payment_method_types": [
"card",
"klarna"
],
but i dont know where thats coming from - we dont set payment_method_types anywhere in our code
its supposed to be automatic
This is the response showing the payment methods applicable on this checkout session
I'm still checking why afterpay is not supported in this particular case
thanks
(for reference - this happens a lot)
many merchants tell us they have x enabled in their Stripe, but it doesn't show at checkout when we create the checkout on their behalf
it would be great if there was logging somewhere on WHY the specific methods were available or not
because every time our customers ask Stripe why its not showing, Stripe says it's our fault
we've lost customer in the past over it
but im fairly sure it's not our fault
To enable afterpay, shipping address collection is required. shipping_address_collection.allowed_countries should be set: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-shipping_address_collection
Thank you!
How should that be enabled?
Via the merchant stripe account?
Or do we need to do it in our codebase?
We already collect billing address via our cart, can we pass it into stripe checkout automatically?
Shipping address and billing address can be different. By enable shipping_address_collection.allowed_countries in your code, shipping address will be collected in Stripe Checkout page
I see... but we already collect shipping and billing our end
we dont want end users to have to enter their address twice
"If you don’t collect shipping addresses with Checkout, provide the shipping address using payment_intent_data[shipping]."
looks like we can pass it in?
can you clarify why shipping address is required for afterpay?
Shipping address collection is the requirement from afterpay.
If your end has collected shipping address, then you can pass it into payment_intent_data.shipping: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-shipping
trying that now, thanks
OK I tested it locally on our test account
i see this in the request now:
"allowed_source_types": [
"card",
"afterpay_clearpay",
"alipay",
"klarna",
"wechat_pay"
],
but still no afterpay at checkout
oh wait sorry, its showing as clearpay
which i guess is right
looks like we actually only need to pass in these fields, is that right?
'payment_intent_data' => [
'shipping' => [
'name' => isset($customerDetails['name']) ? $customerDetails['name'] : NULL,
'address' => [
'line1' => '1234 Main Street',
'country' => 'US',
'postal_code' => '94111',
],
],
],
Yup, it looks right to me
thanks
so it needs shipping address right? not billing
that means it cannot be used for digital goods or services etc where a shipping address isn't required?
Technically yes, unless shipping address is collected
ok