Right now we just retry to retrieve the mandate, which will then fail
again. I'm not sure if there is a "self-healing" case where this
behaviour makes sense. Also, we may want to send an email to the user
when this happens (the paymentfailure one looks like it could match this
case).
Details
Details
- Reviewers
machniak - Group Reviewers
Restricted Project - Commits
- rK5d2734621d00: Disable the mandate if we retrieve an invalid one
Diff Detail
Diff Detail
- Repository
- rK kolab
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/app/Http/Controllers/API/V4/PaymentsController.php | ||
---|---|---|
396 | We probably should not do this if $mandate['isPending'] === true or unset mandate_disabled when we activate the mandate (payment providers' webhook). |