#theofenol_unexpected

1 messages ยท Page 1 of 1 (latest)

kindred pathBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

keen hollow
mild bloom
#

Hi, let me help you with this.

keen hollow
#

hi!

#

so, my full workflow would be:

#
  1. create invoice on a connected account
#
  1. create stripe payment element passing the invoice clientSecret
#
  1. attempt to pay the paymentIntent of the invoice
#

Actual payment works, I tested using GooglePay and it s ok

#

My issue would be that Link option still appears and Apple pay does not appear

#

although I have added & verified my domain

#

and Apple Pay is enabled, whereas Link is disabled

mild bloom
#

Apple Pay only works in Safari and on iOS

#

Checking what's the deal with Link

keen hollow
#

I tried with safari on my iPhone

#

Basically, in order to test, I deployed for real my website

#

To have it over https...

mild bloom
#

No Apple Pay still?
Do you have it set up with a real card?

#

For Link, since it's an Invoice, you have to manage Payment Method settings in your Invoice settings:

#

I see Link is still enabled there

keen hollow
#

Yes, I have several real cards

#

Maybe because my stripe environment is in test mode?

#

I notice for googlepay it says that the card will not be charged because i am in test mode

#

maybe test mode is not supported for apple?

mild bloom
#

Do you see the Apple Pay button on the top of this docs page on your iPhone?

kindred pathBOT
keen hollow
#

yes

zealous tartan
#

Which browser are you in?

keen hollow
#

both on my mac and on my iphone

#

on safari

#

in this chat, i am on chrome

#

but i opened the link in safari

zealous tartan
#

What's the in_xxx ID of the invoice you want to pay?

#

Or the pi_xxx ID of the intent?

keen hollow
#

in_1Q8KE4Q5cKJaskCkGmU4NY5L

#

this would be one that i've just created from my iphone

zealous tartan
keen hollow
#

hmmmm then how is GooglePay working?

#

I added the domain last evening

#

using the API call

#

await stripe.paymentMethodDomains.create(
{
domain_name: "finer.city",
},
{
stripeAccount: account["id"],
}
);

#

is this required every time I deploy something to the domain?

#

perhaps this is the issue?

#

because after I called this API method, I deployed several times a new version

zealous tartan
#

Not for the connected account you haven't, which is where the invoice/intent is created. The domain exists on the platform (acct_1PL7r6Lq9N7S9LPi) but is still unverified/disabled for Apple Pay (likely haven't uploaded the site verification file: https://docs.stripe.com/apple-pay?platform=web#verify-domain)

Allow customers to securely make payments using Apple Pay on their iPhone, iPad, or Apple Watch.

keen hollow
#

soooo wait one sec

#

I called the API code

#

and then I went to the dashboard

#

and downloaded the certificate and hosted it at .well-known

#

is there any special call to verify for the connected account?

zealous tartan
#

Yes, you've registered the domain on your platform account - acct_1PL7r6Lq9N7S9LPi. And that will, or should, work for any payments done on your platform

But in your Connect scenario you're doing direct charges and creating objects directly on the connected accounts so you, the platform, need to register the domains there too

zealous tartan
keen hollow
#

pmd_1Q81ltLq9N7S9LPiGn5ku7lx

zealous tartan
#

This ID: acct_1PLRhTQ5cKJaskCk

keen hollow
#

And no additional verification required, right>

#

?

zealous tartan
#

As long as the verification file exists on the domain, no

keen hollow
#

one more question...

#

I ve disabled the Link option from Invoices

#

as you've suggested

#

However, I see that the Link settings are disabled in Test Mode and only available in Live

#

I suppose that my Test Mode will still show Link, right?

#

Is this the expected behavior?

zealous tartan
#

Hmm, those settings won't apply to an already existing invoice. Meaning if you generated the invoice prior to disabling Link it'll still be available as a method

keen hollow
#

yep, i know

#

but i am generating a new one each time i am hitting a button

#

i m just wondering if i should expect link to be still available in Test Mode

#

because it still is

zealous tartan
keen hollow
#

already off

zealous tartan
#

Not sure then I'm afraid

keen hollow
#

pmc_1Q84uXLq9N7S9LPiakjIMBiG

zealous tartan
#

Is there an in_xxx ID?

keen hollow
#

yep, just one sec

#

in_1Q8KgAQ5cKJaskCkd7VdWSnj

#

freshly created, however I haven't retryed to register my connected account yet

zealous tartan
#

I suspect this is Connect related too, as it'll be using the settings from the connected account

keen hollow
#

yep

#

i opened the setting of the connected

zealous tartan
#

By the way, why are you doing Express and direct charges? Not really recommended (for many reasons, including this)

keen hollow
#

mh... because I wanted my customers to receive via email the list of what they've purchased

#

basically - LineItems

#

So, to be clearer

#

I have an event ticketing platform

#

and a restaurant payment platform

zealous tartan
#

Not sure what that has to do with the type of Connect accounts you're using โ€“ that's support for invoicing regardless of that

keen hollow
#

and what hould be instead of express account?

zealous tartan
keen hollow
#

I found this the most suitable to what I need: A restaurant owner joins my platform, then I force him to do his stripe onboarding

#

via your link account page

zealous tartan
#

If you're doing Express accounts, you (the platform) are liable for any refunds/disputes for their orders

zealous tartan
keen hollow
#

but can I still use your onboarding for standard?

#

ohhhh

zealous tartan
#

Yep!

keen hollow
#

did not know that

#

and if they already have their own stripe account, can they just join my platform as a connected one?

zealous tartan
#

Check out that URL I sent, has a breakdown of the differences. I suspect standard is what you want and it gives you more control over the payment methods etc

keen hollow
#

yes, obviously i do not want any responsibility

#

and i want the restaurant owners / event organizers to handle disputes

#

but i still want the charges to be created direct on them

#

because if I get the money first and then I send them the money, I will have issues with taxes

#

cause my turnover will be huge, however my profit will be only 2-3%

#

And I will have to pay more taxes than profit

zealous tartan
#

Yes, direct charges are the default for standard accounts

keen hollow
#

I ll try to change as you've suggested! Thanks a lot.

#

Can I still find this chat somewhere?

#

After you ll close it?

#

Or do i need to download it?

zealous tartan
#

Sure, the URL is never archived

#

Will just be read-only

keen hollow
#

thanks!

zealous tartan
#

No problem, glad I could help!

kindred pathBOT