Mark, I too have the same problem with Gft Vouchers, as ZenCart treats them as virtual products and fails to fill in shipping address, which makes SagePay reject it.
I tried your code, but it doesn't work for me. In fact it has exactly the same number of lines (475) of code as the original 1.3.
Maybe I am tired and doing something supid, or maybe you posted the wrong file. Can you check, and see if I'm going mad?
I'm guessing I could code the appropriate IF statement with a bit of trial and error, but I'm a bit new to PHP, so if you have code that works then that would be good.
Alan
Bookmarks