I have tried to edit OCCProtxScriptTemplate as per the AUG.
I wanted to change:
To say:
Payment for Order XXXXXXXXXXXXXXX
This would make life for the accountant so much easier - as at the moment there is no easy way to cross-check payments for items sold using SagePay and Actinic reports.
I have tried this:
But receive this error:
Any ideas what I'm doing wrong, or is the OrderNumber variable simply impossible to send the data to SagePay?
As the payment reference is usually something like GG54SX90003AB-35364, Actinic must be sending the initial part (GG54SX90003AB) to SagePay, which appends the extra part, 35364 - but can't find the piece of code which sends the order number to SagePay/Protx.
Everywhere I see Order Number referenced in the OCCProtxScriptTemplate file, it is shown as $::nOrderNumber - what is the difference between this and $sOrderNumber?
Anyone got any ideas?
Cheers,
Grant
I wanted to change:
Code:
$sCrypt .= "Description=Items from ". $sMerchantID . "&";
Payment for Order XXXXXXXXXXXXXXX
This would make life for the accountant so much easier - as at the moment there is no easy way to cross-check payments for items sold using SagePay and Actinic reports.
I have tried this:
Code:
$sCrypt .= "Description=Payment for Order ". $sOrderNumber . "&";
Code:
Error executing the on-line credit card plug-in script. Global symbol "$sOrderNumber" requires explicit package name at (eval 42) line 134.
As the payment reference is usually something like GG54SX90003AB-35364, Actinic must be sending the initial part (GG54SX90003AB) to SagePay, which appends the extra part, 35364 - but can't find the piece of code which sends the order number to SagePay/Protx.
Everywhere I see Order Number referenced in the OCCProtxScriptTemplate file, it is shown as $::nOrderNumber - what is the difference between this and $sOrderNumber?
Anyone got any ideas?
Cheers,
Grant
Comment