Cancelling invoice payment via Mollie Payments iDeal changes invoice

Version ie <v5.12.6>

Environment

Checklist

I’m not able to recreate the specific conditions with the Mollie Payment gateway configured because the Mollie profile ID is confidential, and thus cannot be used on a public demo.

  • Have you searched existing issues?
    I have searched for existing issues and I have not found any that are similar.

  • Have you inspected the logs in storage/logs/laravel.log for any errors?
    I have there are errors about failed e-mails with the payment cancellation e-mail.

Describe the bug

When a client goes to the view invoice page, and gets redirected to iDeal via Mollie and then proceeds to not pay (after 15 min) or press cancel inside iDeal, then redirected to a failed payment page of Invoice Ninja. The initital invoice amount is reduced, there are items or tasks missing from the invoice. Even in the dashboard, the items are just gone, the history tab shows no changes.

Steps To Reproduce

  1. Add and setup Mollie Payments as payment provider.
  2. Only configure iDeal
  3. Create a sample client and invoice
  4. When having received the invoice press the view button, you will be redirected to iDeal.
  5. Choose a sample bank and press cancel, or set it as status in the Mollie test page.
  6. In the client portal or dashboard look at the invoice, the amount should be decreased.

Expected Behavior

I expect the invoice to remain unchanged when a client cancels the payment, they can even after cancelling press pay now again in Invoice Ninja client portal and pay the reduced amount.

Additional context

I have already tried disabling the one page payment flow, but it didn’t help. Even tried enabling lock invoices, but the amount is still reduced.

I’ve recently updated Invoice Ninja to the latest version, and after that I configured Mollie as payment gateway. I don’t have an e-mail server configured, because I don’t want Invoice Ninja sending e-mail.

Screenshots

Any ideas or help is appreciated.

Logs

Log went over character limit I will try to upload the log file.

Hi,

It may be a bug, I suggest asking in a discussion on GitHub.