Hi there,
I have OpenCart installed with PayPal payment method and I want to be able to notify the customers every times when the order status is changed. The statuses and PayPal module are working fine and but I can send notification mail to the customer only manually. Any ideas?
In phpmyadmin look for the table order_history table , edit its structure and for the notify column set default 1 instead of the 0 that is now. Not sure if it will work, but you can tell after.
You never specified what Pay Pal you were using but nevertheless, if you are relying upon Pay Pal for that then you need to use paypal IPN response. Otherwise, Opencart will never know when something happens on the Pay Pal end, thus your emails will never be sent out automatically. As far as setting it up for the emails to be sent out automatically you would take the IPN response and just fire off the same function that is already there in open cart to send out your emails.
Like florinsith was eluding to already you need to pass the $notify argument as TRUE so it knows to send the email.
Like florinsith was eluding to already you need to pass the $notify argument as TRUE so it knows to send the email.
I am using Pay Pal standard module and I have added this IPN response so the Opencart statuses of my orders are changing automatically. I've also changed the notify column to 1 and in fact in my admin panel I can see "yes" in the column "customer notified". The problem is that I don't really receive the mail.
Of course I do! As I have said before, the status of the order in my store is changing automatically and even if I check orders I can see that the status is changed to complete and there is "yes" to the notify customer column. The problem is that the email is not coming.
Actually the email is coming. It actually is not an email it's an encoded string. Your problem is that it's not being received correctly.iv.dimova wrote:Of course I do! As I have said before, the status of the order in my store is changing automatically and even if I check orders I can see that the status is changed to complete and there is "yes" to the notify customer column. The problem is that the email is not coming.
I would recommend setting your IPN URL in pay pal to a folder you can control. Inside that folder have a script that sends out the emails.
Who is online
Users browsing this forum: No registered users and 326 guests