Skip to content

Apple pay bottom sheet displays "done" even when a transaction fails #250

Description

@sarthakrungta

I am using the pay plugin in Flutter to enable Apple pay into my app The funactioanlity runs smoothly but I am facing a UI related issue in Apple Pay payments.

If the user's card is declined, the apple pay bottom sheet still displays a tick and sayd "Done". The response body sent by Apple to my payment provider does say that the card was declined but in the UI, the user sees "Done"

image

Ideally, the UI of the bottom sheet should also say "Payment failed" or "Payment not completed" like in web or native integrations of Apple Pay:

image

image

Metadata

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