Post by tom327 » Sat Jul 02, 2016 2:53 am

Assuming you don't want anything to do with the API thing.

Is there some code edit that will just let you bypass the API,to just to let you update orders, and add history to orders, without getting the error?

Active Member

Posts

Joined
Thu Feb 16, 2012 7:33 am

Post by straightlight » Sat Jul 02, 2016 4:17 am

tom327 wrote:Assuming you don't want anything to do with the API thing.

Is there some code edit that will just let you bypass the API,to just to let you update orders, and add history to orders, without getting the error?
Quite on the contrary. I really like the API. Although, the methodology used to manipulate the API is what I am deeply concerned.

As for adding history to orders without errors, this step has been proven as errorless: http://forum.opencart.com/viewtopic.php ... 20#p626278

Although, you still need to add an API.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by labeshops » Sat Jul 02, 2016 4:55 am

Sorry but I added the api did all that and still get the error, so it is NOT errorless.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by straightlight » Sat Jul 02, 2016 5:11 am

labeshops wrote:Sorry but I added the api did all that and still get the error, so it is NOT errorless.
Which OC version are you using?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by labeshops » Sat Jul 02, 2016 9:01 am

2.2 as I have said before and as it says in my signature.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by straightlight » Sat Jul 02, 2016 10:00 am

Do you have any extensions installed?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by labeshops » Sat Jul 02, 2016 10:31 am

Yes, but nothing that affects the order page or does anything to the api.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by Mysite10 » Sat Jul 02, 2016 3:56 pm

labeshops wrote:Anyone know if any of the order history mods bypasses this error? Like the popup order history, mass order history updator, etc? Getting kinda desperate here as I know I'm going to mess up someone's order or forget to ship something.
Oh goodness, I found my fix. I changed the fraud setting from cancelled to processing and now I am able to reset the status back to a processing (couldn't change it from canceled.)

It annoying that we have this issue. I consider it to be a biggie as customers are wondering why their order is canceled. Especially when they have paid.

Anyways, I hope this helps.

Newbie

Posts

Joined
Fri Jun 17, 2016 10:14 am

Post by straightlight » Sat Jul 02, 2016 7:09 pm

Unbelievable. All this to unlock an order while all this could be avoided by simply relying on the CSRF protection form. Thanks for posting the instructions mysite10. :) ::)

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by labeshops » Sat Jul 02, 2016 8:30 pm

Mysite10 wrote:
labeshops wrote:Anyone know if any of the order history mods bypasses this error? Like the popup order history, mass order history updator, etc? Getting kinda desperate here as I know I'm going to mess up someone's order or forget to ship something.
Oh goodness, I found my fix. I changed the fraud setting from cancelled to processing and now I am able to reset the status back to a processing (couldn't change it from canceled.)

It annoying that we have this issue. I consider it to be a biggie as customers are wondering why their order is canceled. Especially when they have paid.

Anyways, I hope this helps.
I don't use any of the fraud systems. They are not installed so this isn't my issue.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by straightlight » Sat Jul 02, 2016 8:52 pm

labeshops wrote:
Mysite10 wrote:
labeshops wrote:Anyone know if any of the order history mods bypasses this error? Like the popup order history, mass order history updator, etc? Getting kinda desperate here as I know I'm going to mess up someone's order or forget to ship something.
Oh goodness, I found my fix. I changed the fraud setting from cancelled to processing and now I am able to reset the status back to a processing (couldn't change it from canceled.)

It annoying that we have this issue. I consider it to be a biggie as customers are wondering why their order is canceled. Especially when they have paid.

Anyways, I hope this helps.
I don't use any of the fraud systems. They are not installed so this isn't my issue.
What about the installed extensions?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by labeshops » Sat Jul 02, 2016 9:10 pm

extensions I have installed:

adv products puchased report
coupon on checkout page
date added for products
facebook og tags
gearbox modules
guest order view
manufacturer description
opencart shortcodes
product model in autocomplete
rhythm opencart theme framework
shopencart news/blog
size chart
to top (scrolling)
viethemes all layouts

vqmods:

extended save buttons
fix-google-analytics-oc2.2
gaecommerce
option to products
uksb google merchant
vqmanager
latest product rss feeds


That is all. No fraud ones, no openbay. Nothing that I know of that affects api or the admin orders pages. All are working properly. All were written specifically for v2.2

BTW, I had this problem before I had even installed any mods or vqmod

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by straightlight » Tue Jul 05, 2016 11:03 pm

One symptom have may have discovered which may only cover the minimum in this topic is the IP address tracking which minimal rates of providing chances that may be restricted from the browser but may cause to create an error popup on screen.

If it may help anyone, on that end, here's the XML file for Opencart v2.2.0.0 release. This will restrict the merchant on adding API IDs and Passwords if the IP address could not be tracked in the first place. If the account has already been added and the IP address has been restricted after that time period, the IP address will also be verified.

If you encounter XML file errors, please use the VQMod Manager to track the source lines in order to guide you to the right answer before posting the already problematic and encountered issues with lines conflict by using VQMod.

If more solutions are coming on, I will post them accordingly.

Attachments

IP Address Check


Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by labeshops » Wed Jul 06, 2016 12:19 am

The vqmod didn't fix my problem but not clear from your post which one it was addressing. tried it anyway.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by straightlight » Wed Jul 06, 2016 12:46 am

labeshops wrote:The vqmod didn't fix my problem but not clear from your post which one it was addressing. tried it anyway.
My post clearly indicates that the XML file is for IP addresses validations from the server. If it does not address your issue, as mentioned above, if I do find other possible symptoms, I will post them accordingly.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Wed Jul 06, 2016 1:00 am

Opencart Beta 2.3.0.0 released and announced on this topic: http://forum.opencart.com/viewtopic.php?f=2&t=164930 . The API login has been modified on this version. As Heather mentions, however, do NOT use for production purposes until the final release has been officially released by the team.

** Store ID from the admin/controller/sale/order.php file.

The store ID has been added into the controller in order to be used rightfully in the API URL.

** Order delegation content form **

The $json['code'] has been replaced with value.

** Shipping Address Method **

The button shipping address method property has been replaced with loading and reset case.

** jQuery Parent to closest method replaced **

parent() has now been replaced with closest().

** Postal code **

The postal code validation has been modified in the admin order API.

** Store URL over Catalog link over API **

The Store URL link has been changed for the Catalog link over API instead.

** Currency **

The admin currency has been fixed on this version over the API.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by labeshops » Wed Jul 06, 2016 8:32 am

straightlight wrote:
labeshops wrote:The vqmod didn't fix my problem but not clear from your post which one it was addressing. tried it anyway.
My post clearly indicates that the XML file is for IP addresses validations from the server. If it does not address your issue, as mentioned above, if I do find other possible symptoms, I will post them accordingly.
"clearly" except I have no idea what "Ip addressess validations" are - I don't speak code, just have learned how to modify it during the 10+ years I've been workng with php carts.

Looking forward to the update and hopefully it will fix my issue when it's ready for live stores.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by IP_CAM » Wed Jul 06, 2016 8:49 am

Looking forward to the update and hopefully it will fix...
better don't bet on it, more and more, I feel like a motherless child.
opencart-2.3.0.0_b1\upgrade.txt
the good old mess-up info still exists, and the 'upgrader'-saga probably will continue:
/// OpenCart V1.5.x TO 1.5.x ///
/// Upgrade Instructions /// :crazy:

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Qphoria » Thu Jul 07, 2016 2:02 am

IP_CAM wrote:
Looking forward to the update and hopefully it will fix...
better don't bet on it, more and more, I feel like a motherless child.
opencart-2.3.0.0_b1\upgrade.txt
the good old mess-up info still exists, and the 'upgrader'-saga probably will continue:
/// OpenCart V1.5.x TO 1.5.x ///
/// Upgrade Instructions /// :crazy:
Well now that I've been maintaining the upgrade script it should at least be better... tho I haven't touched the upgrade.txt file...

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by labeshops » Tue Jul 12, 2016 1:36 am

BTW, just discovered return history updates fine - apparently it does not use the api??

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA
Who is online

Users browsing this forum: No registered users and 4 guests