#dorf-applepay-connect
1 messages · Page 1 of 1 (latest)
Hello! What issues are you seeing?
What is the code that resulted in that error from the screenshot?
In this documentation, it says we have to activate it directly within the connect account dashboard
I will send the code snippet in a second
Google Pay is working fine with the connect account
The issue is only apple pay
@chrome gust Adding in our lead dev
Did you already register the apple pay domain with the connect account?
Backing up for a second - what specific line of code/request is triggering the error from the screenshot you sent over earlier?
curl https://api.stripe.com/v1/apple_pay/domains
-u {PLATFORM_SECRET_KEY}:
-H "Stripe-Account: {{CONNECTED_ACCOUNT_ID}}"
-d domain_name="example.com"
This is how I registered the domain
Yes, but @civic sapphire sent over an image earlier:
Is that the core issue, or is the problem something else (like you're not seeing apple pay show up at all)?
Yeah, That's the one,
It shows apple pay in private windows
But doesn't work
and It doesn't show in normal window.
at all
Apple pay always shows up in incognito mode - if it's not showing up in non-private windows that indicates something is wrong with the domain registration. Do you have an example site I can look at, that should be showing apple pay?
you can check it at stage.bask.health
I can see it in normal windows
this has a testing stripe connect account
This is shown when we try apple pay in incognito
What is the account ID/
That account only has a single domain registered to it - stripe.com . Did you mean to register stage.bask.health?
yes, stage.bask.health and bask.health
Those domains aren't registered for that account - you need to register them for that account
We just tried to do it agian, can you check agian
Yup, I see them now
Ok, and can you see them for our test connect account: acct_1KQz3RKeyC0h3UUx
You can't test apple pay for test-mode only connect account - the registration has to be done in live mode, which won't work for connect accounts that are only connected in test mode
But can we use this account: acct_1KRhrLC0RqAW3hb7 in test mode?
Yes, accounts that are connected in live mode can be used in both live and test mode
This is for stage.bask.health, correct? Do you have a test login I can use so I can test his out on my end?
stage.bask.health, just proceed through the questionaire, answering No for the questions. Upload any photos, just use a valid phone number and DOB >= 18 and you will get to checkout
This will be much easier if you provide a test login for us to use so that a few of us can try this out on our end
@chrome gust
and how do we get to the apple pay page?
just proceed through the questionaire, answering No for the questions. Upload any photos, just use a valid phone number and DOB >= 18 and you will get to checkout
Shall I send a video of how you can do it?
I don't see apple pay anywhere
That's the problem
This is where it should show Apple pay
Below the Credit or Debit Card box
IT shows in private window
Gotcha! Let me dig a bit further then
Cool
The console logs show that the stripeAccount set is for acct_1KQz3RKeyC0h3UUx, which is only connected to your platform in test mode. As I explained earlier, you need to be using a connect account that is connected in live mode in order to properly register it for apple pay
Yup, I see Apple Pay show up now
In normal
Yes
but it still does not work.
The registration works correctly now, but it looks like there's still bugs elsewhere in your code - from the logs on the account, it looks like you're incorrectly trying to create the customer in live mode instead of test mode, so you'll need to fix that
You can see one of the failing requests here: https://dashboard.stripe.com/logs/req_cD6VnbV9nzYDJf - I'd suggest going through your integration and making sure for this staging site everything is going through test mode