Post by crag364 » Mon Aug 13, 2018 1:44 am

HI,

I am trying to change the status of an order from pending to complete. Whenever I choose complete and press submit, pending appears. Whatever the default setting is set to in the settings > option > order status is what is shown when I try and change the order status manually.

Any ideas? OC version is 2.0.1.1.

Thanks,

Craig

Newbie

Posts

Joined
Tue Feb 04, 2014 3:40 am

Post by rjcalifornia » Mon Aug 13, 2018 12:29 pm

crag364 wrote:
Mon Aug 13, 2018 1:44 am
HI,

I am trying to change the status of an order from pending to complete. Whenever I choose complete and press submit, pending appears. Whatever the default setting is set to in the settings > option > order status is what is shown when I try and change the order status manually.

Any ideas? OC version is 2.0.1.1.

Thanks,

Craig
What is the default setting when someone pay for a purchase?

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by synapseindia » Mon Aug 13, 2018 9:32 pm

Can you please share the errors which you are facing while updating status ?
Also, please check server error logs for the same.
May be you will find the solution.
Thanks

User avatar
Active Member

Posts

Joined
Thu Apr 05, 2018 2:27 pm

Post by crag364 » Thu Aug 16, 2018 4:01 am

Thanks for the replies, so some more information:

  • The paypal standard payment module is being used. When someone places an order, the default opencart setting is to set the order to processing, and when the order is complete the order automatically gets changed to complete. This is all working correctly.
  • Over the last week we have had a few orders fail from paypal, and therefore the order status stays as processing. Upon trying to manually change the status to any other status, it will not change from processing. No errors are shown, and the history of the order shows it still as processing on a new line even though we have tried to change it to another status.
  • In the store error logs I am not seeing anything except IPN Response: Verified which is all good here.
  • Upon searching deeper in the server error logs I find this error which must be why a couple of paypal transactions have failed (although 95% are going through fine still):

Code: Select all

[Sun Aug 12 07:35:26.202091 2018] [cgi:error] [pid 22562] [client 72.187.186.151:49475] AH01215: PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://www.mmptv.net/admin/index.php?route=sale/order/edit&token=1c141c54a16dcbf4c842a23c61900a1f&order_id=7719
It seems we have two seperate issues. The one where we cannot change a product status, and the php deprecated error which is dening a couple of paypal orders.

Thanks,

Craig

Newbie

Posts

Joined
Tue Feb 04, 2014 3:40 am

Post by synapseindia » Fri Aug 17, 2018 8:11 pm

Yes,
You need to use alternative issue for this Deprecated function or update php version.

User avatar
Active Member

Posts

Joined
Thu Apr 05, 2018 2:27 pm

Post by crag364 » Sat Aug 18, 2018 12:09 am

synapseindia wrote:
Fri Aug 17, 2018 8:11 pm
Yes,
You need to use alternative issue for this Deprecated function or update php version.
I can update the php version of the server, thats not an issue but will I need to update the store to? What's the best php version to use for opencart 2.0?

Thanks,

Craig

Newbie

Posts

Joined
Tue Feb 04, 2014 3:40 am

Post by synapseindia » Sat Aug 18, 2018 3:48 pm

Please look into the below URL for minimum requirement for opencart -

http://docs.opencart.com/en-gb/requirements/

Thanks

User avatar
Active Member

Posts

Joined
Thu Apr 05, 2018 2:27 pm
Who is online

Users browsing this forum: No registered users and 181 guests