#danielncr - Apple Pay

1 messages · Page 1 of 1 (latest)

zenith turret
#

Apple Pay buttons will actually always show up in private mode. Apple Pay actually isn't supported at all in private mode but they make the button appear to mess with certain kinds of malicious testing

#

So, it sounds like something about the apple pay setup for your site is off. Happy to help troubleshoot

finite grotto
#

Thanks. I've done all the setup as far as I know.

zenith turret
finite grotto
#

Yes, I can see the apple pay button on the link you provided.

#

Here's the domain registration:

#
      "created": 1659501762,
      "domain_name": "newsrevenuehub.fundjournalism.org",
      "id": "apwc_1LSZPqCx6MKztsJaaTDrziwb",
      "livemode": true,
      "object": "apple_pay_domain"
    },```
zenith turret
#

I actually don't see that button on that page at all all, even in private mode.

#

And I don't see the google pay button either in Chrome.

finite grotto
#

That's private mode in Safari.

zenith turret
#

Weird, I can see it in private Safari now but not with Chrome. So you are using our payment request code but your own custom button

#

That shouldn't affect this, just noting it

#

It does look like the apple pay domain is set up correctly from what I can see

finite grotto
#

Yeah, that confuses me. Do I have cookies that you don't have? I can clear those and see if the buttons stop appearing for me.

zenith turret
#

This page is working directly with your main account, correct? You aren't using connected accounts?

finite grotto
#

This is a connected account.

zenith turret
#

Can you send me the account ID?

finite grotto
#

Here's the connected account: acct_1KPCZOCx6MKztsJa

zenith turret
#

Thank you

finite grotto
#

And here's the Connect account (what do you call that?): acct_1ASCSHBMAMOLTEak

zenith turret
#

Ah there we go, the domain isn't set up for connect. This can be especially precise. Looking in to your setup here

finite grotto
#

This is the code I ran for that: stripe.ApplePayDomain.create(domain_name='newsrevenuehub.fundjournalism.org', stripe_account='acct_1KPCZOCx6MKztsJa')

#

Using the live Stripe key from the Connect account.

zenith turret
#

Thanks, still looking in to this. Things are set up correctly in the first few places that I know to look but I am still looking

finite grotto
#

👍

finite grotto
#

I need to step away from the keyboard for a bit. Is it okay if I check in here in a little while?

zenith turret
#

Sounds good to me. Apologies this is taking a bit, I got busy with other threads.

If you want to move this off of discord, you can write in to our support team with this info. I can grab the ticket and respond to you there https://support.stripe.com/?contact=true

finite grotto
#

I created a ticket yesterday.

zenith turret
#

Can you DM me your email? I can check in to it and grab it if a colleague hasn't

#

Ah I think I might see what it is

finite grotto
#

cool

zenith turret
finite grotto
#

Would that only affect Apple/Google Pay? Because regular card payments are working fine.

zenith turret
#

It affects what account your API calls are being executed on. So actually all of the payments going through this page so far have been happening directly on your platform instead of on your connected account

#

Actually, taking a quick step back, is your end goal for your connected account to take payments itself, or for your platform to take payments and then transfer funds to the connected account

finite grotto
#

I

zenith turret
#

The reason apple pay is currently not showing up is that your connected account has this domain registered but not your platform account. If you want the platform to take these payments, you will need to register this domain on the platform account. If you want the connected account to take payments, you will want to add that param when initializing stripe.js

finite grotto
#

I'm not sure I understand the distinction, but what we want is for us to use a single Connect API key to take payments for all of our connected accounts.

zenith turret
#

You can do that in either scenario, the distinction is how you want the funds to flow. Do you want the payments to be made to your platform which sends money to the connected account, or for the payments to be made to your connected account and your platform takes a fee?

finite grotto
#

We don't want to take a fee.

#

I guess I don't understand Connect well. As it is now when we take a regular credit card payment the payment shows up in the connected account. How would it be different if we were using the other method?

zenith turret
#

It affects how the payment shows up to the user and how refunds work, etc. Here because you want the payment to go directly to the connected account, your setup is correct, you just need to add that stripeAccount code when initializing stripe on the client