I have apple pay on the web running ok on our website, using ios devices
When I load the cart in a browser and try using the 'scan now qr code', my pay sheet displays on my iphone and then immediately closes. How can I debug the issue? I'm not seeing any logging or issues.
Hey!
Sorry to hear that you’re unable to get this to work, let’s see what we can do.
Usually an Apple Pay payment would fail at this stage if there’s an issue with merchant validation, or if the payment request is configured incorrectly.
Saying that, because you say it’s working within the browser on your iOS device, but there seems to be an issue when scanning the code from a 3rd party browser, this indicates there could be a bug we need to address.
It may be worth checking to see if the iPhone is logging anything, as that may provide some insight as to why it's failing. You can do this using Console on macOS with the iPhone connected, and selecting it in the side menu. In particular, filtering on PassbookUIService
should reduce most of the unnecessary noise in this situation.
If this doesn't help, then we would need a sysdiagnose to investigate further, and we can follow up directly.
I would recommend the following:
- Install the "Apple Pay for iOS/iPadOS" logging profile on the iPhone. This is available from https://developer.apple.com/bug-reporting/profiles-and-logs
- Restart the iPhone after installing the profile, and reproduce the issue a few times.
- File Feedback through Feedback Assistant on the iPhone, with as much information as possible. This will provide a sysdiagnose that we can look at. Please do not attempt to upload the sysdiagnose to this thread, but you can post the feedback number you’re provided with after submission. Information about Feedback Assistant and bug reporting can be found at https://developer.apple.com/bug-reporting.