#xfechx_connect-paymentmethods
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1287813008176840784
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
xfechx_connect-paymentmethods
@lyric lotus did you configure Paypal and ApplePay properly in the payment methods settings for those connected accounts? Invoices work completely differently and are irrelevant in that case.
Yes
hi @verbal kelp
on the connected account, I have it setup for apple pay, google pay, paypal
You say yes but are you certain? I'm fairly sure the answer is no
Okay let's take three steps back here. Can I ask you to summarize, all in one message, what you did exactly? You say you enabled something on the connected account, but as a platform you don't really have access to those settings (unless you control both accounts?)
Please try and write a clear summary all in one message, not multiple short sequential messages. Share what you did, which URL(s) you're on and what you see. I should be able to then explain what's mis-configured
๐ please read my clear message
sure, one moment till I write a paragraph
Thanks and please don't say what you could do. I want to understand what you already have done exactly so I can show you what's wrong
Sorry, just making sure I have everything in order, I don't want to waste your time. One moment
all good, take your time!
Ok, so the only option coming up for this connected account checkout session is Google Pay, Apple Pay does not come up even if I have verified domain (and creating a checkout session live mode). Also, not other payment method available, even if I have enabled PayPal. I have enabled this payment method under the platform's account, and under the connected account stripe payment method options.
Okay, that's far from a clear and actionable summary
I have used the same exact code many ocasions
When you create the Checkout Session, it tells you in the response which PaymentMethodConfiguration is being used. Have you looked at those? Do they match what you expect? Did you read https://docs.stripe.com/connect/payment-method-configurations already?
What do you see on https://dashboard.stripe.com/test/settings/payment_methods/connected_accounts? Like share an exact screenshot of that screen where Paypal is on
do you mean on the platform, or connected account?
You didn't fully read what I said ๐ฆ
I didn't say to set it I asked if you looked at the response. In the response it returns the default configuration details and you can fetch those and see what is and isn't enabled and understand the problem
On the platform
can you please point me to where to look at the response?
ok, one moment
I am checking on platform
That's why I was asking what you did here. You said you explicitly enabled Paypal for connected accounts in your Dashboard. And that is not really possible as far as I'm aware. Our public docs here https://docs.stripe.com/payments/paypal#connect say that Direct Charges aren't support for Paypal.
so overall I don't think you turned on Paypal, since it's just not supported
As for ApplePay, you passed setup_future_usage which disables ApplePay on Checkout, so it's also expected behaviour on that front
So I need to disable setup future usage
if you want ApplePay yes
I currently have it like this:
'card' => [
'setup_future_usage' => 'off_session',
'installments' => ['enabled' => true]
],
'oxxo' => ['expires_after_days' => 2],
'sepa_debit' => ['setup_future_usage' => 'off_session']
],```
instead of off_session, what should I add?
and if I disable setup_future_usage, can I still have installments?
If you want ApplePay to show, you need to completely remove the setup_future_usage for card. And yes for installments. Just you can't charge that card again in the future
Ok, so I should just leave that for subscriptions made through checkout sessions, right?
I have it disabled now. Do I need to re-create the checkout session? Or can I just refresh
Understood about Paypal (not available for connected checkout sessions but yes for connected stripe invoices)
I don't know what that means "I have it disabled now". But if you mean you changed the code then yes you need to create a new Checkout Session
not sure what that means. I'm sorry you send really short sentences with almost no actionable details which makes it hard to help you instantly. Can you try and provide all the information in one sentence whenever you need help/follow up?
I'm sorry, that's how I communicate, sorry that it is not ideal for you
Can we just look now at klarna?
because it is not coming up and it is enabled on the connected account dashboard payment method. And it is set to on by default on platform for connected accounts.
Sure, can you share an exact Checkout Session id after your changes? I can then have a look and tell you why Klarna doesn't appear
Okay so what do you see in your platform account for Klarna being enabled for connected accounts? As far as I can tell it's all off there too
OK, no worries, I can access the connected account dashboard, and Klarna is ON there. But doesn't appear in either invoices or checkouts.
Then not sure sorry. The problem is that Klarna is off on the settings page where you control what can and can't be enabled so you can't enable it yourself
My advice is to pause for a few hours and carefully read https://docs.stripe.com/connect/payment-method-configurations and implement that if you want to carefully control what payment methods appear or don't appear
I don't really want to control or implement anything at this point tbh, I would like everything to be enabled by default and connected accounts can set them on or off depending on their preference
so for klarna, I would like to know why it doesn't come up
okay then some payment methods require more work, like Klarna and you can't control it. That's the link I explained above. So I'd recommend just skipping Klarna and looking at other payment methods
AFAIK if connected account enables Klarna on their account, it should come up with my current settings/code, am I wrong?
Sure but some LPMs have limitations, like Paypal and Klarna
I see klarna on my other accounts checkout sessions, so code wise it should be the same
Can you share an exact example where Klarna appears so I can look?
sure, just a quick question. Does klarna work AT ALL with invoices?
Invoices are entirely unrelated to Checkout Session. And I'm not sure if they work with it, the easiest would be to test in your account and see if Klarna is an option or not
OK, yes - invoices are quite automatic hey?
what does that mean "quick automatic hey"?
ah you wrote quite, my bad, but not sure what you meant. There's collection_method that is an available parameter
Please share the real Invoice id, not the URL if possible and clearly explain what you need me to answer
Why does it have does payment methods that are not allowed either in the platform, or connected account directly.
Invoices work completely differently and do not use the setting page you are looking at in the Dashboard. They have their own list of supported payment methods in the Invoicing settings
Sure, sorry it's so confusing, I wish it was easier and I keep pushing internally about this. I didn't even know Klarna had those weird limitations
There's 2 fundamental misunderstandings on your end though
- As a platform, you control which payment method(s) will show based on a specific settings page for Connect. You said early on you turned things on twice but clearly did not since the entries for Paypal and Klarna are not there. It's important to be really crisp about this. I know I push back on you but we help hundreds of people a week here and it's important for the asker (you) to provide enough context/details in one go. It's not like we had a 1:1 conversation at lunch or something here and so the extra work helps make it more efficient for both sides
- When you look at the connected account's Dashboard, you need to make sure you change the settings for your platform. If you look at their payment method settings, you will only change the settings for calls made with their API keys. In the top right corner of that view there's a dropdown with the word "default" in it and if you click on it you will see another configuration for your platform. Look at that one and you will see Klarna is not enabled for that connected account.
OK, number 2 I had no idea this was possible.
Thanks for the recommendations and for all the help today.
Cheers