Post by hbristow » Sun Aug 21, 2022 4:09 am

Hi,

We are having and issue where multiple emails are getting sent for Paypal purchases. When a customer makes a purchase there is the first "Processed" status set with no customer notification and then it just keeps sending processed with a customer notifications.

Is there a background process that runs to send emails? If so, how is this controlled? If not, why would emails continuously be sent?

Thanks, Chris

Newbie

Posts

Joined
Thu Jul 06, 2017 8:27 am

Post by ADD Creative » Sun Aug 21, 2022 5:04 am

What version of OpenCart and which PayPal payment extension are you using?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by hbristow » Sun Aug 21, 2022 9:34 am

ADD Creative wrote:
Sun Aug 21, 2022 5:04 am
What version of OpenCart and which PayPal payment extension are you using?
We are using 3.0.3.8 and PayPal Commerce Platform extension.

Newbie

Posts

Joined
Thu Jul 06, 2017 8:27 am

Post by ADD Creative » Sun Aug 21, 2022 4:14 pm

The statuses can be changed via the callback that PayPal calls. Could be that PayPal keeps calling it, maybe due to no or the wrong response. Check both your OpenCart and PHP error logs for any related errors.

Check your web access logs to see it it being called. The URL would be /index.php?route=extension/payment/paypal/callback. You could also switch on the debug logging in the extension and check the error log.

Make sure that you are using the latest version from the marketplace. One one included in 3.0.3.8 has a security flaw where anyone can call the callback to change the order status.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by hbristow » Wed Aug 24, 2022 4:05 am

The notification URL we are using ends in /index.php?route=extension/payment/paypal/webhook. This one at least does not error out, the other one shows a failed in the PayPal IPN History page. Will webhook not work in this situation?

Also, even if we disable the IPN notifications in PayPal, it still sends processed emails.

I will enable debugging and see what I can find though.

Newbie

Posts

Joined
Thu Jul 06, 2017 8:27 am

Post by ADD Creative » Wed Aug 24, 2022 5:08 am

Sorry, yes it is /index.php?route=extension/payment/paypal/webhook that gets called, not callback.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 5 guests