Post

Replies

Boosts

Views

Activity

Reply to Apple Pay Js in Not working (while getting all data from serverside for validation)
Where is the code that actually logs "sessionError"? Sounds like your onvalidatemerchant completes without error and your onpaymentauthorized never starts, so what catches and logs that error? (No, I don't know anything about Braintree, and not a whole lot about Apple Pay. I've just implemented it once myself and have hit some cases where I haven't been able to get help either. So I'm empathetic to others struggling and trying to help out any way I can.)
Topic: Safari & Web SubTopic: General Tags:
Jan ’25
Reply to PaymentRequest TypeError
For completeness/posterity, also added to StackOverflow: The annoyingly tiny answer was that the first argument to the PaymentRequest constructor is supposed to be an array. const request = new PaymentRequest([ applePayMethod ], paymentDetails); (Or, make the variable an array from the start. The two examples I'd seen used different approaches, I missed the array brackets.)
Topic: Safari & Web SubTopic: General Tags:
Jul ’24
Reply to NotSupportedError, The payment method is not supported
(Sorry, to be clear, this is using the PaymentRequest API, not the Apple Javascript one)
Replies
Boosts
Views
Activity
Apr ’25
Reply to SecurityError, show() must be triggered by user activation.
Definitely looking specific to Google apps on iPad. Another instance: Mozilla/5.0 (iPad; CPU OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) GSA/343.0.695551749 Mobile/15E148 Safari/604.1
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to SecurityError, show() must be triggered by user activation.
I saw "Safari" and didn't look further on the User Agents, but these appear to be iOS Chrome and the iOS Google app. But testing with both of those myself, they do not behave this way normally or by default.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to Apple Pay button not appearing
Noting this behavior persists. I have cards added to the wallet, but the demo site does not present Apple Pay. What is going on?
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Apple Pay Js in Not working (while getting all data from serverside for validation)
Where is the code that actually logs "sessionError"? Sounds like your onvalidatemerchant completes without error and your onpaymentauthorized never starts, so what catches and logs that error? (No, I don't know anything about Braintree, and not a whole lot about Apple Pay. I've just implemented it once myself and have hit some cases where I haven't been able to get help either. So I'm empathetic to others struggling and trying to help out any way I can.)
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Apple Pay Integration Issue: Payment Sheet Closing Immediately After Merchant Validation
And your error handler isn't triggered either? And nothing else in the browser console? (You might want to reformat your post to make the code easier to follow)
Replies
Boosts
Views
Activity
Jan ’25
Reply to Apple Pay sometimes doesn't work (device specific)
Sadly, I don't have any suggestions for you, but I wanted to commiserate that both: We've seen some similar, unexplained failures The level of support here has been disappointing
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to Unable to Add AMEX Card to Sandbox Account
In our experience, many of the AMEX sandbox accounts don't work. Or work sometimes, or for some devices/users, but not for others.
Replies
Boosts
Views
Activity
Jan ’25
Reply to Apple Pay Test Environment - The Right Way
Our payment provider requires different certificates in their production and non-production environments. Which does require two Apple Merchant IDs. (We added a ".test" suffix to our non-production one.) I can't speak for how other providers would answer this.
Replies
Boosts
Views
Activity
Jan ’25
Reply to PaymentRequest TypeError
For completeness/posterity, also added to StackOverflow: The annoyingly tiny answer was that the first argument to the PaymentRequest constructor is supposed to be an array. const request = new PaymentRequest([ applePayMethod ], paymentDetails); (Or, make the variable an array from the start. The two examples I'd seen used different approaches, I missed the array brackets.)
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Unable to create Sandbox Apple IDs
(Administrator says using a gmail account instead worked fine.)
Replies
Boosts
Views
Activity
May ’24