Post by gpzzone » Wed Oct 09, 2019 1:21 am

Opencart v 3.0.2.0

I've been struggling for a few days now to track down a problem with order statuses not updating correctly.

As I understand it, the initial status is set by the Payment provider's response to the payment attempt (Paypal Payments Pro) I have checked the settings in the payments extension and succesful new orders are requested set the order to "Pending"

"Pending" is the default setting for OC as set in system|settings|options|order status.....

However they're not setting at all. The order status in the dashboard summary is blank and when you drill down to the order it reports the status as "No results!"

Any attempt to manually set an order status fails, BUT it always succeeds on the second attempt! It's quite bizarre.

It's been working perfectly for months and I really cannot see what could have happened to suddenly prevent it from updating correctly. I have cleared the modifcation cache as a precaution.




Is there any wisdom out there that could steer me in the right direction please?

Thanks in advance.

CD

Newbie

Posts

Joined
Sat Aug 25, 2018 4:08 am

Post by opencartmart » Wed Oct 09, 2019 3:27 pm

However they're not setting at all. The order status in the dashboard summary is blank and when you drill down to the order it reports the status as "No results!"
It's worth to make sure Paypal payment really set Order status properly. For testing purpose, enable payment module cash on delivery and place an order to see whether it updates order status properly or not.

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by gpzzone » Wed Oct 09, 2019 4:02 pm

That's really useful thanks.

As suggesteed, I enabled the Cash on Delivery module and everything does seem to be in good order. The statuses are updating exactly as they should, so I'm guessing the issue lies with the Paypal API?

Newbie

Posts

Joined
Sat Aug 25, 2018 4:08 am

Post by opencartmart » Wed Oct 09, 2019 4:19 pm

As suggesteed, I enabled the Cash on Delivery module and everything does seem to be in good order. The statuses are updating exactly as they should, so I'm guessing the issue lies with the Paypal API?
I don't think it is Paypal API issue. It must be your store issue. PPPro is very straightforward payment module. If it lets you proceed to order the success page, then PPPro should be fine. In that case, it could be problem in adding order history. So first ensure, are you able to complete order with Paypal pro?

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by paulfeakins » Wed Oct 09, 2019 4:48 pm

How have you got your statuses set up in the PayPal payment gateway settings?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by gpzzone » Fri Oct 25, 2019 4:48 pm

I've been trying, unsuccesfully to resolve this now for some weeks.

It's quite bizarre, but in the Paypal Express extension, there are 10 different statuses to set, void, cancelled, review etc etc. However once an order is placed and paid for (authorised) the order comes through as it should BUT the status is set to one that is NOT featured in the Paypal extension setup.

Ie - Nowhere in the paypal setup do I have "processed" as a status - yet when the order is completed it appears in the dashboard with an order status of "Processed"!

The store default status is set to Pending and again none of the statuses set in the store settings are set as "Processed"

All caches are cleared - so does anyone have any idea why it may be plucking "Processed" as an order status when it's not stipulated anywhere in the relevant settings?

Thanks in advance.

Newbie

Posts

Joined
Sat Aug 25, 2018 4:08 am
Who is online

Users browsing this forum: ianhaney50 and 8 guests