We use the Mollie payment plugin in combination with EventBooking.
We encounter an issue when we refund a transaction, this in done in the dahboard of Mollie.
When we process a refund the orginal webhook (update status) from the registration is called again.
Because a refund is a separe transaction for Mollie which is linked to the original transaction, the webhook will trigger the orginal registration to be processed again. The problem is that the user will receive an e-mail confirming the registration, while it is has been cancelled.
Is it possible to modify the code, or can I modify the code in os_ideal.php lines 112-135 to add another check if the status of the registration is already 1 (published) then processing of the payment is skipped, or at least the e-mail is not send (line 124)