#some_dev_em

1 messages · Page 1 of 1 (latest)

tardy wadiBOT
molten tiger
#

Hi đź‘‹

Are you seeing this in the browser you are currently using?

plain solar
#

I can't test in local in safari because I don't have a valid test card. In prod environment where it should be available, the paymentRequestButton doesn't appear.

molten tiger
#

Unless you have a way to test locally this will be very hard to debug

#

If the canMakePayment() function is returnning null then that would indicate the browser is not configured for Google/Apple pay

#

Do you have a test site I can check?

plain solar
#

I mean I can send our preprod (its registered in stripe domains) in dm but the website is in french and stuff. If you feel like taking a look, let me know but you have to set up an account etc, its cumbersome. Is there any quick way I can get a test card to test in local ?

molten tiger
#

Unfortunately Apple doesn't work with Test cards. You need to save a real card to your Apple settings to enable Apple Pay in safari

plain solar
#

just saw this on the doc canMakePayment resolves to null outside the following supported cases:

Safari 10.1+ (desktop and mobile)
with a saved Apple Pay card
or when in a Private Browsing window
or when the “Allow websites to check if Apple Pay is set up” preference is disabled. so maybe there's a way to test

molten tiger
#

There is a way to rule out whether or not these things are happening. But the easiest way is with a browser that is correctly configured for Google or Apple Pay

plain solar
#

ok thanks