Payment-Mollie - Paymentstatus (expired/cancel )

  • Vincent Schuurhuis
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 5 months ago #72605 by Vincent Schuurhuis
Payment-Mollie - Paymentstatus (expired/cancel ) was created by Vincent Schuurhuis
We have purchased the Mollie payment plugin.

Succesfull payments are visible because the registrant state has been changed (published) in de dashboard this is displayed as Paid.

The confusion is when the state is pending, looking at the api of Mollie the possible state op the payment is:
open cancelled expired pending paid paidout refunded charged_back
Is there an option to show this status in our dashboard, now we only can see the registration has not been paid, is would help a lot is we can see if the payment was cancelled or expired.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #72665 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Payment-Mollie - Paymentstatus (expired/cancel )
Hi Vincent

Unfortunately, the extension doesn't control that. We will only show registrants who has successfully made the payment for the registration

If the payment is not success for any reasons, we won't show it (by default, it is pending). If you want to see these pending records, you can go to Events Booking -> Configuration, set Show Pending Registration records config option to Yes. However, as I said, we don't log status of the payment

Tuan

Please Log in or Create an account to join the conversation.

  • Vincent Schuurhuis
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 3 months ago #74905 by Vincent Schuurhuis
Replied by Vincent Schuurhuis on topic Payment-Mollie - Paymentstatus (expired/cancel )
Hi Tuan

Based on the answer, I have made custom modifications to the os_ideal.php file.
In the database we created a new field payment_statusstr (varchar(50)) to store this information

The modifications are
Line 119: Add

// store payment status en method which are reported back by Mollie
$row->payment_statusstr = $payment->status . ' ('. $payment->method . ')';

Line 130: Add
//store paymentinformation reported back by mollie why transaction was not succesfull
else
{
$config = EventbookingHelper::getConfig();
$row->transaction_id = $payment->id;
$row->payment_statusstr = $payment->status . '('. $payment->method . ')';
$row->store();
}
At the moment I'm testing version 2.3.0, in this version the payment processing has been redesigned, Can you point out in which file(s) I need to apply above changes. We only use Offline and Mollie payment processing.

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #74936 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Payment-Mollie - Paymentstatus (expired/cancel )
Hi Vincent

It is hard to make the change, I am afraid of as now, we are using omnipay payment processing API in Events Booking ( omnipay.thephpleague.com/ ), so if you want to make the change, you will need to hack into the code of Omnipay payment API which is not easy

So in this case, I think you should keep using older version of the plugin which you customized. It will still works with Events Booking version 2.3.x+

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc