Gateway error


https://forum.kartris.com/Topic2820.aspx
Print Topic | Close Window

By wanless - Fri 14 Feb 2014
Hi we have a strange error when processing an order through sagepay it seems to be an issue on certain items in certain quantities for example

if I add a 2x a product to the basket change my currency to Euro it shows a total price of 114,11 Euros and this go's through to sagepay fine showing the correct price in £. if I then change the quantity to 3 I get a total price of 163,08 Euros and sage page gives the following error

Status: INVALID

Status Detail: 3021 : The Basket format is invalid.

Any ideas?

Many Thanks
By wanless - Fri 14 Feb 2014
After some more digging it looks like an error with the Discounts and other adjustments part of the checkout process the basket info being sent is as follows

"basket=3:[SKU_12-5]ProductName 4497 - 32",Long (33"):5:49.95:0:49.95:249.75BigGriniscounts and other adjustments:-:-:-:-:0.02Delivery:-:-:-:-:0"

it looks like its missing a : before Delivery is there any way I can fix this?
By Paul - Fri 14 Feb 2014
Just to clarify, is it SagePay VSP Form you're using, or the direct method? And the latest DLL (v3.00 protocol). Just need to ensure we're looking in the right place for bugs/fixes.
By wanless - Mon 17 Feb 2014
Thanks for the reply

I've just checked and its the Sagepay Form were using and protocol 2.23 where can I get the 3.0 dll?

Many Thanks again
By wanless - Mon 17 Feb 2014
Just to add I have downloaded the latest version of Kartris and replaced the /Plugins/SagePay folder but I get the following error on all transactions

"

Status Detail: 5068 : The encryption method is not supported by this protocol version.
"

if I alter the VSPProtocol to 2.23 the transactions go through again but I still expertiane the same error as before.



Many Thanks again

Dan
By Paul - Mon 17 Feb 2014
Curious, the latest zip should contain the new DLLs for SagePay that support protocol 3.00. If you are updating an existing web site, can you check that the FTP is succeeding in overwriting the old ones - sometimes the files can get locked in use, and so when you try to overwrite them you get a failure message in the FTP details but often don't notice it and so assume the files were overwritten.
By wanless - Tue 18 Feb 2014
Thanks again for all your help with this and you are correct there was a strange caching issue on the server I removed the .dll file completely then re-uploaded and all is now fine Smile