#danielncr-applepay

1 messages · Page 1 of 1 (latest)

atomic arrow
#

Hey There

#

How can we help?

gritty horizon
#

Should I ask my question again? I guess I don't know how this works. We just went live with our app today and Apple Pay isn't working.

atomic arrow
#

I know you already posted your question somewhere, but would you mind summarizing or copy/pasting in this thread for brevity?

gritty horizon
#

On desktop Safari the Apple Pay button isn't showing. On Safari on iOS the Apple Pay button shows but when clicked the dialog appears but immediately disappears.

#

I've done the domain association and registered the domain.

atomic arrow
#

Is the URL live? In other words, can I navigate to it and see if the button works for me?

gritty horizon
#

Yes

atomic arrow
#

Ah, okay. That doesn't work for me either. What are product are you using? Payment Element?

gritty horizon
#

Payment Request Button Element

atomic arrow
#

Ahhh, okay. That's odd, because Google Pay shows up in Chrome for me

gritty horizon
#

yes, google pay works fine for me too

atomic arrow
#

What's your account ID? Should look like acct_abc123

gritty horizon
#

just a sec

#

acct_1ASCSHBMAMOLTEak

#

Note that this is using Connect, if that matters.

#

If you need the account number for the actual Stripe account receiving the funds I can provide that too.

#

(The above account # is the Connect acct)

atomic arrow
#

Okay, thanks. Taking a look now

#

Very strange. Let me flag internally and see if one of my colleagues has a good idea about troubleshooting further

gritty horizon
#

okay. Thanks

atomic arrow
#

Ah! Okay, so I think I know what is going on. I did a cURL request to the url where you hosted your domain association file and it looks like you have the right file but you have incorrectly added a new empty line at the end of the file. You need to edit the file to be exactly like ours with no empty line at the end.

gritty horizon
#

oh, wow

#

ha, our pre-commit hook has an end-of-file fixer that was automatically adding the newline

#

deploying that fixed file now

atomic arrow
#

Amazing! I love when it's that simple

gritty horizon
#

Well, the new file is deployed but Apple Pay still isn't working. Not sure if it checks for that periodically and we just have to wait or something

crimson bobcat
#

Hi 👋 @atomic arrow had to go so I'm stepping in. Let me confirm the problem is you are using the Payment Request Button to render both Apple & Google Pay (when applicable) and on Safari in Desktop you do not see Apple Pay?

gritty horizon
#

On desktop I don’t see the button. On iOS safari I see the button but when clicked the dialog that pops up immediately disappears

crimson bobcat
#

Okay so there is no situation (regardless of whether the button is visible or not) where you can actually use Apple Pay?

gritty horizon
#

No.

#

Er right I should say.

crimson bobcat
#

Okay what kind of Connect integration are you using

#

?

gritty horizon
#

Standard account. With elements.

crimson bobcat
#

Direct charges? Are you cloning payment methods or not?

gritty horizon
#

Not cloning. Direct charges.

crimson bobcat
#

The Connect Account was created in Live mode using your live API key?

gritty horizon
#

Yes.

#

Regular charges are working.

crimson bobcat
#

And you added the the domain to the Connect account via the API?

gritty horizon
#

I added the domain in the Stripe Dashboard.

crimson bobcat
#

That won't work I'm sorry to say.

#

The domain must be added to the Connect Account via the API, using the Platform's live API key

gritty horizon
#

So the dashboard lets me do it but it won’t actually work?

crimson bobcat
gritty horizon
#

Ok. I’ll check that.