question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Apple Pay not working in 1.9.0

See original GitHub issue

General information

  • SDK/Library version: 1.9.0
  • Environment: Sandbox
  • Browser and OS: iOS 11

Issue description

I’ve followed the instructions, and can’t get Apple Pay working in the sandbox. Yes, I’m using a sandbox iCloud account, have a test credit card added, and ApplePaySession.canMakePayments() returns true.

From some debugging into the drop in, I’m seeing that my gatewayConfiguration is coming back with an applePayWeb field, but not applePay which is being looked for here:

https://github.com/braintree/braintree-web-drop-in/blob/2355dcbcdd733d5a8aa7a1420bc6160d56bddd27/src/dropin-model.js#L217

Is this a bug in the drop-in?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
crookedneighborcommented, Nov 21, 2017

Turns out, I gave them that snippet. My fault for not double checking it before I gave them the snippet.

1reaction
dpolivycommented, Nov 20, 2017

@crookedneighbor OK, I think I figured it out. This is the correct way to pass in the create options:

				applePay: {
					displayName: 'Test',
					paymentRequest: {
						total: {
							label: 'Test',
							amount: amount,
							type: 'final'
						}
					}
				}

I can now get the Apple Pay UI to appear. Your support folks are giving out bad information here; they are the ones that provided the original code snippet that I was passing in. Might want to let them know that it’s not correct.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not set up Apple Pay, an error occ…
I'm having issue with add card to wallet on my iPhone only, when click on "add card", it said "Could not set up...
Read more >
Apple Pay not working “Payment Not Completed”
The Apple Pay dialog on a macOS simply says “Payment Not Completed.” Here is a console output from *BEFORE* I click the Apple...
Read more >
SDK for iOS version 1.9.0 and older
SDK for iOS supports the following alternative payment methods: Apple Pay—purchases in iOS apps. For the detailed information about purchase processing by using ......
Read more >
How To FIX Apple Pay Not Working! SOLVED (2022) - YouTube
This video shows how to fix apple pay not working. double click to fix apple pay not working is a common problem that...
Read more >
IPv6 Certifications - Oracle
Oracle BI Suite EE 11gR1 (11.1.1.9.0) is certified with WebLogic Server 10.3.6.* ... JDK 7 certification is available only with WLS 10.3.6+/FMW 11.1.1.6+....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found