Post by Karonia69 » Wed Feb 17, 2021 1:27 am

Hi,

OK, I'm probably ( hopefully ) missing something here, I just want Free Checkout to come first in the Payment Method Sequence or be the default, in the Payment Extensions, Free Checkout is 1 and SagePay is 15 ... Anyone come across this ??
OC1.png

Checkout - OC1.png (42.3 KiB) Viewed 909 times

Last edited by Karonia69 on Wed Feb 17, 2021 6:45 pm, edited 1 time in total.

New member

Posts

Joined
Thu May 17, 2018 4:09 pm

Post by mikeinterserv » Wed Feb 17, 2021 1:32 am

In your payment extensions there is a SORT ORDER
You set the sort order in the payment extension
So make free checkout sort order 1

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by Karonia69 » Wed Feb 17, 2021 1:37 am

as I said, in the Payment Extensions, Free Checkout is 1 and SagePay is 15

Attachments

OC2.png

OC2.png (76.16 KiB) Viewed 891 times


New member

Posts

Joined
Thu May 17, 2018 4:09 pm

Post by mikeinterserv » Wed Feb 17, 2021 1:47 am

Refresh your cache and sass cache and see if it changes.
I just checked with 3.0.2.0 and is working fine
It is probably seeing sagepay as 1 change it to 2

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by Karonia69 » Wed Feb 17, 2021 2:01 am

I've changed the sort order digits, I've refreshed both Theme and SASS caches... Still the same!!! LOL

New member

Posts

Joined
Thu May 17, 2018 4:09 pm

Post by mikeinterserv » Wed Feb 17, 2021 2:07 am

So free checkout is sort order 1
Sage pay is sort order 2
You refreshed the cache and sass
Now make sure to log out as customer - log back in- hard refresh the page - in chrome that is CTRL+ SHIFT+ R at the same time.
If you using edge press CTRL and the refresh button at the same time.
Free checkout should only appear if the total in shopping cart is ZERO
If the Total is NOT ZERO then Free checkout should not appear

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by mikeinterserv » Wed Feb 17, 2021 2:30 am

For Free checkout make sage pay higher than 0.00
It will not appear for totals of ZERO and free checkout will be the only choice.
Also I think there is another fix for OC 3.0.2.0 for free checkout issue of order going into missing orders in case you run into that also.

In the screenshots - if cart total is higher than ZERO there is no free checkout choice.
If the total is ZERO AND you have sage pay set to ZERO for order amount it will display BOTH but in the correct order,
Generally Sage Pay will never be set at ZERO amount

Attachments

Clipboard16.jpg

Clipboard16.jpg (8.02 KiB) Viewed 822 times

Clipboard15.jpg

Clipboard15.jpg (9.19 KiB) Viewed 822 times


Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by Karonia69 » Wed Feb 17, 2021 2:42 am

Yes, to all of the above, but still the same.
SagePay is set to 1.00 and is being displayed when the value is ZERO... so that's the problem!!

Now, how to fix it!! LOL

New member

Posts

Joined
Thu May 17, 2018 4:09 pm

Post by mikeinterserv » Wed Feb 17, 2021 2:55 am

So your cart total is definitely ZERO - no shipping - no nothing
Sage pay is set to TOTAL 1.00
Then Sage Pay is STILL appearing for payment method when cart total is ZERO
Unfortunately I am unable to replicate it so its going to be difficult to go further.

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by Karonia69 » Wed Feb 17, 2021 3:04 am

Thanks for the help, even if I set SagePay to 10000, it's still showing with Free Checkout!!

New member

Posts

Joined
Thu May 17, 2018 4:09 pm

Post by Karonia69 » Wed Feb 17, 2021 6:44 pm

The sagepay_server_iframe module I'm using didn't have the correct values in the controller module, added PAYMENT_ in front of each of the variables and HEY PRESTO!!!

New member

Posts

Joined
Thu May 17, 2018 4:09 pm

Post by paulfeakins » Wed Feb 17, 2021 6:49 pm

Karonia69 wrote:
Wed Feb 17, 2021 3:04 am
Thanks for the help, even if I set SagePay to 10000, it's still showing with Free Checkout!!
Sounds like an extension or something is messing things up quite a bit, perhaps it's time to pay a developer from the Commercial Support Forum.

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by Karonia69 » Wed Feb 17, 2021 7:40 pm

paulfeakins wrote:
Wed Feb 17, 2021 6:49 pm
Karonia69 wrote:
Wed Feb 17, 2021 3:04 am
Thanks for the help, even if I set SagePay to 10000, it's still showing with Free Checkout!!
Sounds like an extension or something is messing things up quite a bit, perhaps it's time to pay a developer from the Commercial Support Forum.
Thanks for the advice, looks like it was just a badly written extension that's been working for years, it was only when we tried to do 'Free' products than the error came to light, modified/corrected the extension and it's looking good ;D

New member

Posts

Joined
Thu May 17, 2018 4:09 pm
Who is online

Users browsing this forum: jorem and 33 guests