[FIX] SagePay Direct 4.0.8 & 5.0.3

For Articles relating to more than one ISC version
Post Reply
Martin
Site Admin
Site Admin
Posts: 1854
Joined: Wed Jun 17, 2009 6:30 pm
Location: South Yorkshire UK
Contact:

[FIX] SagePay Direct 4.0.8 & 5.0.3

Post by Martin »

The "fixed" file for 4.0.8 and 5.0.3 has in fact introduced a much worse bug that should be breaking any attempts to use the VSPDirect (now known as SagePay Direct) module.

To fix this you need a single edit:

Open: /modules/checkout/protxvspdirect/lang/en/language.ini

Find:

Code: Select all

ProtxVspDirectPaymentMismatch = "The Amount sent and received were different. Sent %s and received %s"
After, Add:

Code: Select all

ProtxVspDirectOrderFromX = "TxnID %s - %s"
This fix resolves some incredibly poor practice as Interspires developer left out the new language field they though it was "clever" to add.. thus the "Description" field required for the transaction to succeed was left blank causing a failed transaction with error:
Transaction Declined. Error MALFORMED : 3013 : The Description is missing
Post Reply