Post by ASP » Sun Jun 19, 2016 3:01 am

Version 2.0.3.1

I had this "Undefined Variable: json..." error several months ago and resolved it by creating and assigning a new API user, but this no longer works.

Is there a work around for this? I desperately need to update my order statuses!

Error message:
error.png

error - error.png (8.44 KiB) Viewed 1707 times


ASP
New member

Posts

Joined
Fri Sep 11, 2015 11:35 pm

Post by ASP » Mon Jun 20, 2016 3:05 am

With this not working, I'll have to add the dispatch info via PayPal to inform my customers. Is there a way of syncing the PayPal transaction status with the OC order?

ASP
New member

Posts

Joined
Fri Sep 11, 2015 11:35 pm

Post by straightlight » Mon Jun 20, 2016 3:13 am

Is there a way of syncing the PayPal transaction status with the OC order?
Depending on which PayPal edition you're using, yes - PayPal does provide this possibility by using the API.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

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

Post by ASP » Mon Jun 20, 2016 4:45 pm

I use PayPal Express Checkout with API

ASP
New member

Posts

Joined
Fri Sep 11, 2015 11:35 pm

Post by straightlight » Mon Jun 20, 2016 5:56 pm

In the admin, you can use the PayPal Transaction Search to lookup your order statuses.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

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

Post by ASP » Mon Jun 20, 2016 6:02 pm

Thank you, I'm already aware of this feature, but want to be able to add tracking info to the PayPal transaction, and for this to show on the OC customer order record.

ASP
New member

Posts

Joined
Fri Sep 11, 2015 11:35 pm

Post by straightlight » Mon Jun 20, 2016 6:09 pm

Could you clarify 'tracking info' ? What would you like to add?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

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

Post by ASP » Mon Jun 20, 2016 6:13 pm

I'm adding a tracking number upon dispatch to the PayPal transaction in PayPal using the "Add tracking" option and would like this information to appear on the OC customer order record.

ASP
New member

Posts

Joined
Fri Sep 11, 2015 11:35 pm

Post by straightlight » Mon Jun 20, 2016 6:29 pm

The way it's been coded at the actual time is by using the capture method, it searches by the Opencart Order ID and includes a view link in order to show the order details. From the view link, it captures the PayPal order information by using the PayPal transaction ID. The Invoice number (tracking) is already included along the transaction details in the transaction page from Opencart. In other words, it is already sync. :)

However, if you want those actions to be done automatically, it would need to be developed by custom codes into Opencart or as a cron task / jQuery task.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

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

Post by ASP » Mon Jun 20, 2016 7:00 pm

OK, thanks for the info, but I think you misunderstood.

By "tracking", I'm referring to the physical postal/courier tracking number for my customer's package. I want this to sync with the OpenCart order status record:
t.png

t.png (24.15 KiB) Viewed 1658 times


ASP
New member

Posts

Joined
Fri Sep 11, 2015 11:35 pm

Post by straightlight » Mon Jun 20, 2016 7:40 pm

I see. You are referring to the Tracking ID which, according to the API documentation, only the adaptive payments can receive this field request. Not the Express Checkout.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

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

Post by ASP » Mon Jun 20, 2016 7:52 pm

In that case I'll just update via PayPal and leave the OC order unchanged until someone can provide a fix for the order status change error shown above.

ASP
New member

Posts

Joined
Fri Sep 11, 2015 11:35 pm

Post by straightlight » Mon Jun 20, 2016 7:54 pm

It is not a matter of a fix ... it is rather about limited features provided by PayPal themselves based on the service they provide while using the Express Checkout for your enquiry ...

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

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

Post by Burt65 » Mon Jun 20, 2016 9:11 pm

ASP wrote:In that case I'll just update via PayPal and leave the OC order unchanged until someone can provide a fix for the order status change error shown above.
I would suggest you move up to at least the 2.1.0.2 version to alleviate some of the problems you are having with OC...

Over 95% of all computer problems can be traced back to the interface between the keyboard and the chair...


User avatar
Active Member

Posts

Joined
Mon Nov 18, 2013 3:23 pm
Location - Oz

Post by ASP » Mon Jun 20, 2016 9:26 pm

straightlight wrote:It is not a matter of a fix ... it is rather about limited features provided by PayPal themselves based on the service they provide while using the Express Checkout for your enquiry ...
You are incorrect. Scroll to the top of the thread to see the error!

ASP
New member

Posts

Joined
Fri Sep 11, 2015 11:35 pm

Post by ASP » Mon Jun 20, 2016 9:33 pm

Burt65 wrote:
ASP wrote:In that case I'll just update via PayPal and leave the OC order unchanged until someone can provide a fix for the order status change error shown above.
I would suggest you move up to at least the 2.1.0.2 version to alleviate some of the problems you are having with OC...
I agree and would love to upgrade! I have unsuccessfully tried this three times and gave up.

I've followed the instructions here: http://docs.opencart.com/upgrading/

But upon reaching this section, clicking the continue button fails and I'm left stuck on this screen:
upgrade-install.png

upgrade-install.png (35.43 KiB) Viewed 1636 times

I've tried this on Chrome, Firefox and Opera.

ASP
New member

Posts

Joined
Fri Sep 11, 2015 11:35 pm
Who is online

Users browsing this forum: No registered users and 29 guests