#gael_14750

1 messages ยท Page 1 of 1 (latest)

warm matrixBOT
vapid arrow
#

๐Ÿ‘‹ happy to help

#

you need to register the subdomain as a separate domain

somber pewter
#

I have to register my domain AND the subdomain?

vapid arrow
somber pewter
#

I already have both

vapid arrow
#

are you hosting the /.well-known/apple-developer-merchantid-domain-association file on both?

somber pewter
#

Yes it is available for both

vapid arrow
#

would you mind just pasting the subdomain's URL here please?

somber pewter
vapid arrow
#

the .well-known file that is hosted there doesn't have the correct shasum

#

please download the file from the Stripe dashboard and reupload it without opening it first

somber pewter
#

How do you now the shasum ? Your Ip is not in your whitelist in vpn

vapid arrow
#

you can run curl -L -s https://rc-payment.paygreen.dev/.well-known/apple-developer-merchantid-domain-association | shasum

#

in your terminal

somber pewter
#

Your call must have gone to 403

vapid arrow
#

maybe

#

but if that's the case, then Stripe Apple's verification could have gone to 403 as well

#

this route should be accessible

somber pewter
#

We allowed IP ranges from stripe documentation

vapid arrow
#

and the result should return 66e294f14f03165bb73637f562179d3d9c6e0da9

#

curl -L -s https://paygreen.dev/.well-known/apple-developer-merchantid-domain-association | shasum returns the correct result

#

so that's your answer

somber pewter
#

The main domain is not behind the VPN

#

what IP range should we whitelist for the subdomain verification to pass?

vapid arrow
#

yes looking for it, just give me a sec

somber pewter
#

can you recheck the subdomain? we just changed the vpn rule

vapid arrow
#

I'm not on any of those IPs

#

so I would probably still be forbidden

somber pewter
#

We opened everything to test momentarily

vapid arrow
#

I still can see it as forbidden

#

I'm not sure whether this is a caching issue or not

somber pewter
#

Sorry this should work now. can you check?

#

The canmakerrequest still does not work

vapid arrow
#

yes it does work now

#

and the file has the correct shasum

#

would you mind sharing a link to the payment page where I could test it out?

somber pewter
warm matrixBOT
vapid arrow
#

it did open fine

#

but I can't see Apple Pay either

somber pewter
#

GooglePay is ok

#

The code is exactly the same

vapid arrow
#

would you mind sharing any of the PIs that were generated?

somber pewter
#

I'm not sure what you want
req_Fid9598sRDsJX6

#

thecanmakerequest doesn't seem to be logged

vapid arrow
#

I know I just need to look at the PI for a second

#

this request looks good

#

are you sure this is the one that gets created on this domain?

somber pewter
#

The pi is not called since the button is not displayed. can I generate one for googlepay?

vapid arrow
#

it's the same

#

the reason why I needed to look at the PI is to see whether connect is involved

#

and see what type of charges you're doing

#

apparently you're using Destination Charges

somber pewter
#

"id": "pi_3Ogp9hK9AB1l4svb0KuDVh4Z",

vapid arrow
#

yes it's the same type

#

so normally this should show since it has been correctly configured

#

let's try one more thing

#

would you mind deleting the domain rc-payment.pagyreen.dev and registering it again before we retry?

somber pewter
#

it's done

#

But the result is the same

tropic shadow
#

Gotcha, looking in to this and will get back to you

#

Unfortunately not finding much at the moment. Can you DM me a link to your test page at rc-payment.pagyreen.dev so I can take a closer look?

somber pewter
#

unfortunately for security reasons most of our APIs are behind VPN

#

I have exactly the same code in rc-payment.paygreen.dev

tropic shadow
#

As long as the link sees the same behavior that you are seeing on your actual site that should be fine

#

That being said, I wonder if that restrictiveness is part of the issue here. Apple is very restrictive on when they show their button

somber pewter
#

Is it possible to check if the domain is valid at Apple?

tropic shadow
#

I see it in your dashboard so it should be valid as far as I know.

#

Can try to double check

tropic shadow
#

As far as I can see the domain is valid. Would you still be able to send me an ngrok URL?

somber pewter
tropic shadow
#

Thank you for the link. Apple Pay is actually showing up for me on your test page

#

Are you not seeing Apple Pay at the ngrok URL either?

somber pewter
#

Yes

tropic shadow
somber pewter
#

On the ngrok Apple and googlePay work. On my subdomain rc-payment.paygreen.dev, Google Pay works but ApplePay does not. with the same device.

tropic shadow
#

That is so strange. If you can see Apple Pay on the ECE page, that means your wallet is properly set up. And the ngrok page should check the same things before showing the Apple Pay button.

#

So does just Link show up?

somber pewter
#

I disabled link. That I don't use

warm matrixBOT
tropic shadow
somber pewter
#

Yes I see the button

tropic shadow
#

Also to double check, are you using private mode for any of this? Apple Pay will always show up in private mode (though it won't be usable) so I am wondering if that is part of why you can see it one place but not the other

modern mist
#

Hi there ๐Ÿ‘‹ are you doing this testing in livemode or testmode?

somber pewter
#

I tested safari on a private tab or not... the result is the same

#

In test Mode with the test api key

modern mist
somber pewter
#

Ohhh thank you... I thought that putting it in prod mode would overload the test config !!!

#

It works. Thank you for your time