#ucjonathan-applepay-paymentrequest
1 messages · Page 1 of 1 (latest)
hello, so
it is expected that applePay: true is always returned in incognito mode
don't use incognito mode basically
try this first in regular browser window in Safari: https://stripe.com/docs/stripe-js/elements/payment-request-button
do you see the Apple Pay button on that page
yes, I see it on your test page, but a lot of us can't see it on the customer's checkout. https://www.superiortitanium.com/cgi-bin/UCEditor?merchantId=TITAN&ADD=TI-318-VIPER-SLVR
gotcha so that means you are set up for Apple Pay
BUT it might be an integration issue on how Apple Pay was set up on your client's website
so let's start here
is Connect involved, for the client's website
yes, it's our connect integration. let me provide some additional details. From out order logs, we can see that some customers are indeed seeing the apple pay button show up and are using it.
We've got a good number of merchants using Apple Pay and have never encountered this strange behavior.
what is the fund flow, is it Direct Charges?
(Apple Pay with Connect can be ... tricky, so narrowing down)
How do I determine the accounts fund flow?
are the payments being created on the Connect account (Direct Charges), or whether the Platform is using "Destination Charges" aka payment created on Platform with a Transfer of funds to the Connect acct
I'm guessing direct charge as we don't have any of the funds flow through us. Would them being a Canadian merchant cause issues if the customer's not in Canada?
Their default currency is USD though.
country and currency shouldn't matter for now
ok next two questions
i/ what is the account ID of that connected account
ii/ how do you initialize Stripe.js on your client's webpage?
(code snippet for how Stripe.js is initialized basically)
acct_2Srwh4VHu6OrQv4u2uGU
{"country":"US","currency":"usd","total":{"label":"Total","amount":6999},"requestPayerName":true,"requestPayerEmail":true,"requestShipping":true,"displayItems":[{"label":"The VIPER™ Money Clip - NEW NASA Optical Gray Finish","amount":6999},{"label":"Subtotal","amount":6999}],"shippingOptions":[]}
that.paymentRequest = that.stripe.paymentRequest(paymentRequestParams);
lot of handlers....
that.paymentRequest.canMakePayment().then(function(result) {
console.log("paymentRequest.canMakePayment ", result);
the Stripe.js initialization for ii)
aka what (redacted) publishable key and/or Connect acct ID is passed on var stripe = Stripe('pk_123')
pk_live_ZsqaPrfmdaBjXWqt9o2dRFxx00jLdyXKWM
that.stripe = Stripe('pk_live_ZsqaPrfmdaBjXWqt9o2dRFxx00jLdyXKWM', {
apiVersion: "2020-03-02",
stripeAccount: window.stripeAccountId
});
you're initializing Stripe.js as the Connect account which is great
BUT
the piece you're missing is that the Platform has to set up the Apple Pay domain on Stripe as well. Currently, the account itself set it up, not the Platform on behalf of the Connect acct.
So you need two things to fix this:
a/ delete the existing superiortitanium domain from the Connect acct
They can do it from their Dashboard
b/ you register the domain as the Platform by making this request with the Platform API key and the Stripe Account ID: (the second snippet here: https://stripe.com/docs/stripe-js/elements/payment-request-button?html-or-react=html#html-js-using-with-connect)
Let me check on their domain validation. We do that automatically, but let me double check that.
Any harm in posting the validation of their apple pay domain?
It's got the id=apwc stuff.
you can paste just the ID
I can look internally
but remember to delete the existing domain first though
then add the same domain as the Platform on the Connect acct
apwc_0AS4kbh4VHu6OrQvZz2SJVwi
that is the one you need to delete first
as that was (incorrectly) registered on the account itself, not by the Platform
can I delete that from the web interface on his connected account?
can you guide me where in the dashboard I go to find that apple pay domain and delete it?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.