Post by uptohome1 » Tue Mar 30, 2021 9:20 pm

I really need some help with this. some customers are having their orders sent to sagepay us twice and can not see the unique order number.
Please help ASAP... Thanks,

Attachments

12.jpg

12.jpg (42.98 KiB) Viewed 834 times


Newbie

Posts

Joined
Tue Mar 30, 2021 9:13 pm

Post by rjcalifornia » Tue Mar 30, 2021 11:40 pm

uptohome1 wrote:
Tue Mar 30, 2021 9:20 pm
I really need some help with this. some customers are having their orders sent to sagepay us twice and can not see the unique order number.
Please help ASAP... Thanks,
Are you using the default sagepay extension?

Image


Active Member

Posts

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

Post by straightlight » Tue Mar 30, 2021 11:44 pm

OC version.

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
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by uptohome » Sat Jul 10, 2021 5:20 am

Version 3.0.3.1 works fine, but Version 3.0.3.2 ~ can't see the order number..

Newbie

Posts

Joined
Wed Mar 31, 2010 11:40 am

Post by straightlight » Sat Jul 10, 2021 6:45 am

uptohome wrote:
Sat Jul 10, 2021 5:20 am
Version 3.0.3.1 works fine, but Version 3.0.3.2 ~ can't see the order number..
Was it an upgrade between 3.0.3.1 and 3.0.3.2?

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
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by uptohome » Tue Jul 13, 2021 10:17 pm

No, upgrade.. I have 6 website 3website 3.0.3.1 (working good) and 3website 3.0.3.2~3.0.3.6 (not working)
Here are the error log:PHP Unknown: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/xxxxxxxx/public_html/catalog/controller/extension/payment/sagepay_us.php on line 83

PHP Warning: A non-numeric value encountered in /home/xxxxx/public_html/catalog/controller/extension/payment/sagepay_us.php on line 83
Please help me..

Newbie

Posts

Joined
Wed Mar 31, 2010 11:40 am

Post by straightlight » Wed Jul 14, 2021 12:01 am

uptohome wrote:
Tue Jul 13, 2021 10:17 pm
No, upgrade.. I have 6 website 3website 3.0.3.1 (working good) and 3website 3.0.3.2~3.0.3.6 (not working)
Here are the error log:PHP Unknown: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/xxxxxxxx/public_html/catalog/controller/extension/payment/sagepay_us.php on line 83

PHP Warning: A non-numeric value encountered in /home/xxxxx/public_html/catalog/controller/extension/payment/sagepay_us.php on line 83
Please help me..
You're using the one from the core whereas the extension may not be up-to-date especially on older OC versions. See from the Marketplace if you can find a more updated and maintained version of the extension.

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
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by uptohome » Wed Jul 14, 2021 12:27 am

The older version is working fine(Version 3.0.3.1) However, after version 3.0.3.2 can't see the order number. (sagepay us)

Newbie

Posts

Joined
Wed Mar 31, 2010 11:40 am

Post by straightlight » Wed Jul 14, 2021 12:29 am

Use the one from the v3.0.3.1 controller then. In addition, this topic has been posted in the wrong forum section.

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
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by ADD Creative » Wed Jul 14, 2021 1:05 am

uptohome wrote:
Tue Jul 13, 2021 10:17 pm
No, upgrade.. I have 6 website 3website 3.0.3.1 (working good) and 3website 3.0.3.2~3.0.3.6 (not working)
Here are the error log:PHP Unknown: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/xxxxxxxx/public_html/catalog/controller/extension/payment/sagepay_us.php on line 83

PHP Warning: A non-numeric value encountered in /home/xxxxx/public_html/catalog/controller/extension/payment/sagepay_us.php on line 83
Please help me..
Are all you site using the same PHP version? Do all your sites have display errors switch off the the 3 places where it needs to be?

Looking at catalog/controller/extension/payment/sagepay_us.php line 83. Looks wrong to me.
https://github.com/opencart/opencart/bl ... us.php#L83

Doing "chr(28) - 1" isn't going to work on PHP 8 and will cause the error your are receiving on PHP 7.3+.

www.add-creative.co.uk


Expert Member

Posts

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

Post by straightlight » Wed Jul 14, 2021 1:06 am

Should be addressed for the maintenance branch.

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
Programmer / Opencart Tester


Legendary Member

Posts

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

Users browsing this forum: Max Io and 3 guests