Problems Sending Emails For Orders - Question | JoomShaper

Problems Sending Emails For Orders

JR

Julien Rousseau

EasyStore 1 month ago

Good morning,

I am having problems sending emails for confirmed orders and confirmed payments.

The first email for the confirmed order is sent. On the other hand, the second email which says that the payment has been made is also sent even when the order has expired.

Could you explain to me how to resolve the problem? The site is already in production and orders are already in progress.

I use Mollie.

I thank you.

0
8 Answers
JR
Julien Rousseau
Accepted Answer
1 month ago #163102

I have add my code in your plugin and its work... Thanks but too late.

Gift for you :

/**
     * Maps Mollie payment statuses to EasyStore payment statuses.
     *
     * @param string $mollieStatus
     * @return string
     */
    private function mapMollieStatusToEasyStoreStatus($mollieStatus)
    {
        switch ($mollieStatus) {
            case 'paid':
                return 'Paid';
            case 'canceled':
                return 'Failed';
            case 'expired':
                return 'Failed';
            case 'failed':
                return 'Failed';
            default:
                return 'Unpaid';
        }
0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #163139

Thanks for your feedback. I have talked with the team. They have already fixed the issue and it will be available with the next update.

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback on 

  1. Joomla Extension Directory
  2. TrustPilot

This will inspire us to improve.

0
JR
Julien Rousseau
Accepted Answer
1 month ago #162908

I think I found where the error is coming from.

There is a status which is: not_found

So a status that does not exist in easystore.

How can it be ?

0
JR
Julien Rousseau
Accepted Answer
1 month ago #162910

I just found where the problem is.

When the payment is: EXPIRED at Mollie, this status is not supported by EasyStore. So it sets a status: NOT_FOUND

This causes the payment confirmation email to be sent.

When Mollie's status is: EXPIRED, it should be recognized by Easystore as FAILED.

Could you resolve the problem quickly?

The system is in production and the problem is already on 15 orders.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #163054

Hello Julien Rousseau

Thanks for your detailed feedback on the issue. I will share it with the team to check. Please allow us some time.

Best regards

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 month ago #163057

The team checked your issue. But your credentials are not working. Please check and share correct credentials.

0
JR
Julien Rousseau
Accepted Answer
1 week ago #166328

Did you fix the issue? Is the Mollie payment plugin updated and actually working now?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 5 days ago #166397

It should be fixed. There are no complains about the plugin now. Please check it and let me know.

0