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"

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:

