Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: undefined is not an object (evaluating 'braintree_web__WEBPACK_IMPORTED_MODULE_12__.ApplePaySession.canMakePayments') #701

Open
kukadiyaAni opened this issue Oct 19, 2023 · 1 comment

Comments

@kukadiyaAni
Copy link

I'm using node js with below detail

  • SDK version: 3.97.2
  • Environment: Sandbox
  • Browser and OS: Safari 17.0 (19616.1.27.211.1) on MacOS 14.0

TypeError: undefined is not an object (evaluating 'braintree_web__WEBPACK_IMPORTED_MODULE_12__.ApplePaySession.canMakePayments')

I want to integrate Apple Pay but when try to click apple button pay button I got error TypeError: undefined is not an object (evaluating 'braintree_web__WEBPACK_IMPORTED_MODULE_12__.ApplePaySession.canMakePayments') my code is below

 if (!ApplePaySession.canMakePayments()) {
      console.error("This device is not capable of making Apple Pay payments");
 }
@jplukarski
Copy link
Contributor

Hello @kukadiyaAni , thanks for writing in. Have you made sure you followed all steps outlined in our documentation for integrating with Apple Pay?

Can you provide steps to reproduce this issue? If you do not want to share details about your integration or your test site over public Github you can reach out to our support team who can help you troubleshoot your integration.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants