sbarbat / SyliusSagepayPlugin

The Sylius Sagepay Gateway Plugin
MIT License
3 stars 8 forks source link

Mark request as failed on card identification #3

Closed sbarbat closed 5 years ago

sbarbat commented 5 years ago

If card identification doesn't go through, mark the request as failed.

mbklnd commented 5 years ago

This resolves an issue for me. Unfortunately, due to the PayumController.php controlling the flash messages, there's no easy way to get the actual error message back to the user without injecting the flashbag into this Class.

However, for now, this is a good amendment.