• Resolved Pascal77

    (@pascal77)


    Hi,
    When someone orders in my shop and the Mollie plugin is used then clients do not receive the confirmation email which is a bit unhandy. It is going on for months and tried to find something else that might cause it but when client choses payment by bacs everything works so…

    Here a debug.log notice:

    
    PHP Notice:  Trying to get property 'id' of non-object in /home/../../wp-content/plugins/mollie-payments-for-woocommerce/src/Mollie/WC/Payment/Object.php on line 294
    

    No idea what it is but clients better receive a confirmation for their peace of mind.
    Any ideas?
    (all the rest works 100%)

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello @pascal77

    Mollie does not send emails. After an order has been made WooCommerce will send emails. Maybe it comes from a WC update. Did you check it when Mollie is deactivated?

    This message you sent is just a PHP notice, no error. What PHP version do you use on your server? But this notice has nothing to do with sending mail from your system.

    Best regards
    Andreas

    Thread Starter Pascal77

    (@pascal77)

    On payment confirmation Mollie couples back to woocommerce. Everything goes fine except that there is no confirmation mail send by woocommerce. With bacs when I confirm payment received the confirmation is sent. I assume this is a problem with Mollie not triggering the woocommerce payment confirmation specific for that confirmation email (it does couple back to the woocommerce admin, everything working fine there)

    PHP 7 or something like that.

    Hello @pascal77

    when you can see in the order notice right sidebar a payment status the all should be fine and Mollie pinged WooCommerce. Maybe you can check the WooCommerce email settings because as I wrote above Mollie does not send any emails using WooCommerce. All emails are coming from WordPress or WooCommerce.

    Can you deactivate all other plugins just for testing to see if emails will be sent by WooCommerce or maybe you can create a staging site with WC and Mollie alone?

    Best regards
    Andreas

    @aweissinpsyde Same prroblem here. I have a stagin site with Woo and Mollie. When I make an order in sandbox modus and choose to have the payment status “failed” or “cancelled”, I get redirected ti the Pay for order page and the status in Woocommerce is “pending”. When I then use a payment method FROM MOLLIE again and set the status to “paid”, I get redirected to thankyou-page BUT in Woocommerce backend the order is still pending and no order-processing email is sent from Woocommerce! However, if I choose a NON MOLLIE payment method the second time, such as bacs or cod, the order status oes change to processing and the email is sent from Woocommerce. So Mollie does not update the order status correctly when the customer chooses another payment method from Mollie!

    @dammsugare Can you please contact WooCommerce too because the status will be change by WooCommerce. Please have a look here https://docs.woocommerce.com/document/managing-orders/ Especially here https://docs.woocommerce.com/wp-content/uploads/2013/05/woocommerce-order-process-diagram.png

    @aweissinpsyde I will contact Woocommerce, but I don’t think it is Woo bug since the staus IS updated when cod or bacs or Paypal are chosen the second time for example. It only happnens when the customer chooses a Mollie payment method for the second time!
    Also, why are orders that are set as “failed” or “cancelled” in Mollie backened not set to “failed” or “cancelled” in Woo backend, but instead still “pending”?? Or is this all due to the sandbox modus?

    @dammsugare

    normally the sandbox shouldn’t have any issue updating the status. Please let me know what WooCommerce says.

    Thank you
    Have a nice week
    Regards
    Andreas

    @aweissinpsyde Woocommerce has not replied and I doubt they will. Please try out for yourself on a test site.

    Hello, @dammsugare

    I already did. We are running a different test every day and we received all emails. Can you try this plugin https://www.ads-software.com/plugins/wp-smtp/ Please add your SMPT details and run a few tests, please.

    @aweissinpsyde it is not nly that the email is no sent – the order status is not updated to processing!! And that is why Woo is not sending anything. Please try to first place an order in sandbox modus and on the Mollie screen choose “failed”. Then you will get redirected to the Pay for order page(and in Woo backend the order is pending.) Then , on the pay for order page, choose anyother method from Mollie and this time on the Mollie screen, choose “authorized” or something simmilar. Now you get redirected to the Woocommerce orderreceived page, but in Woo backend the order status is still pending, and because of that no email is sent.

    Hello @dammsugare

    I’ll try to reproduce your steps for the status. Please note WooCommerce is sending emails before the payment is done. No matter if a client paid or not and order email should be sent after a client clicked the pay now button. That means the status and the sending email arent connected together.

    For e.g. if a client order something but just closes the browser when on the payment gateway site WooCommerce will send still an order mail.

    Did you try the SMTP plugin I recommend to you? Did you try it with a normal payment gateway like WooCommerce bank transfer too?

    Best regards
    Andreas

    PS: If you want please send me an email to [email protected] with a link to this thread here and attach your woocommerce status report, log files, and screenshot when you have.

    @aweissinpsyde Woocommerce is NOT sending an emails when orer staus is pending – because no payment is made and the order is not confirmed yet. Other plugins such as Germanized or German Marekt change this behaviour and will make Woo immediately send out the customer-processing email, but by default Woocommerce is not doing it. You can check it by using the standard PayPal that is already integrated with Woo and place an order with PayPal, and then when you get directed to PayPal, just close the brwoser. You as the customer will NOT receive an order email from Woocommerce – only if you have Germanized etc installed which I have not.

    So it has nothing do with with Woocommerce, it is Mollie’s plugin that isn’t sending the correct status back to Woo…I will try and send you an email as well!

    Hello @dammsugare

    can you please try this one here https://docs.woocommerce.com/document/email-faq/

    Install WP Mail Logging plugin. This will log all outgoing mails so you can see what is being sent. Once installed:

    Generate a test order
    Go to your admin dashboard > WP Mail Log
    Check that your test order generated an email, and if there are any sending errors reported

    Andreas W.

    (@aweissinpsyde)

    Closed because of inactivity

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Confirmation email not sent’ is closed to new replies.