#xfechx_connect-paymentmethods

1 messages ยท Page 1 of 1 (latest)

onyx spokeBOT
#

๐Ÿ‘‹ 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.

verbal kelp
#

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.

lyric lotus
#

Yes

#

hi @verbal kelp

#

on the connected account, I have it setup for apple pay, google pay, paypal

verbal kelp
#

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

lyric lotus
#

I can control both accounts

#

that is no problem

verbal kelp
#

๐Ÿ˜… please read my clear message

lyric lotus
#

sure, one moment till I write a paragraph

verbal kelp
#

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

lyric lotus
#

Sorry, just making sure I have everything in order, I don't want to waste your time. One moment

verbal kelp
#

all good, take your time!

lyric lotus
#

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.

verbal kelp
#

Okay, that's far from a clear and actionable summary

lyric lotus
#

I have used the same exact code many ocasions

verbal kelp
lyric lotus
#

oh man

#

where do I set that up? Under the session creation?

lyric lotus
verbal kelp
#

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

lyric lotus
#

can you please point me to where to look at the response?

#

ok, one moment

#

I am checking on platform

verbal kelp
#

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

lyric lotus
#

apple pay and google pay are enabled

#

ah ok!

lyric lotus
#

So I need to disable setup future usage

verbal kelp
#

if you want ApplePay yes

lyric lotus
#

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?

verbal kelp
#

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

lyric lotus
#

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)

verbal kelp
#

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

lyric lotus
#

awesome

#

apple pay appears now

#

but no other option to pay

#

Ah I realise

verbal kelp
#

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?

lyric lotus
#

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.

verbal kelp
#

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

lyric lotus
#

thanks, ok.

#

req_V6pl3QKRLCq5Oy

verbal kelp
#

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

lyric lotus
#

one moment please

#

Klarna doesn't appear

verbal kelp
#

So today it's not possible to enable Klarna this way unfortunately

lyric lotus
#

OK, no worries, I can access the connected account dashboard, and Klarna is ON there. But doesn't appear in either invoices or checkouts.

verbal kelp
#

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

lyric lotus
#

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

verbal kelp
#

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

lyric lotus
#

AFAIK if connected account enables Klarna on their account, it should come up with my current settings/code, am I wrong?

verbal kelp
#

Sure but some LPMs have limitations, like Paypal and Klarna

lyric lotus
#

I see klarna on my other accounts checkout sessions, so code wise it should be the same

verbal kelp
#

Can you share an exact example where Klarna appears so I can look?

lyric lotus
#

sure, just a quick question. Does klarna work AT ALL with invoices?

verbal kelp
#

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

lyric lotus
#

OK, yes - invoices are quite automatic hey?

verbal kelp
#

what does that mean "quick automatic hey"?

verbal kelp
#

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

lyric lotus
#

Why does it have does payment methods that are not allowed either in the platform, or connected account directly.

verbal kelp
#

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

lyric lotus
#

ah ok, thanks a lot for all these answers

#

It can get quite confusing

verbal kelp
#

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

  1. 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
  2. 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.
lyric lotus
#

OK, number 2 I had no idea this was possible.
Thanks for the recommendations and for all the help today.
Cheers