Problems sending emails for orders - Forum | JoomShaper
Solved EasyStore

Problems sending emails for orders

Asked by Julien Rousseau 2 years ago Last activity 2 years 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.

Accepted answer

Marked as the solution
Julien Rousseau Asked this

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';
        }
Ofi Khan Staff

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.

6 more replies

Julien Rousseau Asked this
2 years ago · edited

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 ?

Julien Rousseau Asked this

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.

Ofi Khan Staff

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

Ofi Khan Staff

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

Julien Rousseau Asked this

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

Ofi Khan Staff

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

Log in to reply.