-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hi there,
I noticed that the error handling this plugin could be improved a bit... Currently there is no way to detect if a user cancelled a payment or if an error occurred.
I would love to change that behaviour by forking and making a PR. But unfortunately, I believe this might be a breaking change...
The way I'd tackle this is by making the plugin throw a flutter pay error when there is a paymentError. However, this will required developers to be aware of this and handle this exception appropriately.
Metadata
Metadata
Assignees
Labels
No labels