Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

feat: More specific error messages #6

Open
@mariusbolik

Description

Hi, thank you for this awesome plugin! I faced the issue, that the payment sheet wasn't showing up. It turned out, that I missed to add the Apple Pay Capability to the Debug Section in Xcode. I only added it to the Release Section. The error that showed up was the following:

Bildschirmfoto 2022-10-11 um 11 25 37

Also merchantCapabilities is set to optional in typescript, but if it's missing, another error appears.
I had no clue, that merchantCapabilities could be the problem here:

Bildschirmfoto 2022-10-11 um 11 02 23

This error messages aren't very specific. Also, the messages are displayed in the language of the device. Instead of using error.localizedDescription, please use a more specific way to display error messages. This would make this plugin perfect! :)

This was a good support for me: https://stackoverflow.com/a/53231548

Best regards,
Marius

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions