Apologies if this has been answered before but I have now searched for an hour and a half and can't find what I need.
I have followed all the instructions on this thread (many thanks KB for such a useful guide). http://community.actinic.com/showthread.php?t=45021
I am running Actinic Version 7.
OCCUpgrade.ini
[OCCProvider:22]
ID=22
ProviderName='Sage Pay'
TestModeAvailable=1
PreAuthorizedAllowed=0
AuthorizedAllowed=1
ClassID='{AC070015-43EE-11D2-9520-080000511272}'
ClassIDManager='{AC070025-43EE-11D2-9520-080000511272}'
PlugInScriptName='OCCPROTXScriptTemplate.pl'
ProviderURL='https://live.sagepay.com/gateway/service/'
RemoteProcessScript='vspform-register.vsp'
DBPlugInScriptName='OCCPROTXScriptTemplate.pl'
DBProviderURL='https://test.sagepay.com/gateway/service/'
DBRemoteProcessScript='vspform-register.vsp'
Debugging=?1
TechnicalFailAllowed=0
FinancialFailAllowed=0
OnlyAuthorize=?0
TemplateName='Act_OCCPROTXTemplate.html'
SiteSubDirectory='CommonOCC'
MaxURLLength=-1
AccountRegistrationURL='http://www.actinic.co.uk/psp/protx/index.htm'
Extracts from OCCPROTXScriptTemplate.pl
my $sPROTXURL = '';
if ($bTestMode) {
# $sPROTXURL = "http://localhost/";
$sPROTXURL = "https://test.sagepay.com/gateway/service/";
} else {
# $sPROTXURL = "http://localhost/";
$sPROTXURL = "https://live.sagepay.com/gateway/service/";
}
######################################################################
$sCrypt .= "SuccessURL=".$sPROTXURL."vps2Form/ActSuccess.asp?ActVendor=" .$sMerchantID. "&ActAmount=" . $::nOrderTotal . "&AuthURL=" . Base64Encode($::sCallBackURLAuth);
$sCrypt .= "&InvoiceURL=" . Base64Encode($::sCallBackURLUser) . "&";
$sCrypt .= "FailureURL=".$sPROTXURL."vps2Form/ActFail.asp?ActVendor=" .$sMerchantID. "&RedirectURL=" . Base64Encode($::sCallBackURLBack) . "&";
All the changes were accepted and uploaded.
Payments are taken by successfully Sage Pay and appear in my account but orders appear as FAILED in the Actinic order system.
After payment is taken I get the following instead of returning to my website. So obviously a problem with the return URL.
The file you are trying to access cannot be found.
If you are looking for the Sage Pay website click here
If you are looking for the LIVE VSP Admin or LIVE My Sage Pay click here
Alternatively contact support@sagepay.com and provide the URL you are trying to use along with the error message.
Sorry for asking but I have the flu and it's way passed my bed time and my head hurts.
Gillian
I have followed all the instructions on this thread (many thanks KB for such a useful guide). http://community.actinic.com/showthread.php?t=45021
I am running Actinic Version 7.
OCCUpgrade.ini
[OCCProvider:22]
ID=22
ProviderName='Sage Pay'
TestModeAvailable=1
PreAuthorizedAllowed=0
AuthorizedAllowed=1
ClassID='{AC070015-43EE-11D2-9520-080000511272}'
ClassIDManager='{AC070025-43EE-11D2-9520-080000511272}'
PlugInScriptName='OCCPROTXScriptTemplate.pl'
ProviderURL='https://live.sagepay.com/gateway/service/'
RemoteProcessScript='vspform-register.vsp'
DBPlugInScriptName='OCCPROTXScriptTemplate.pl'
DBProviderURL='https://test.sagepay.com/gateway/service/'
DBRemoteProcessScript='vspform-register.vsp'
Debugging=?1
TechnicalFailAllowed=0
FinancialFailAllowed=0
OnlyAuthorize=?0
TemplateName='Act_OCCPROTXTemplate.html'
SiteSubDirectory='CommonOCC'
MaxURLLength=-1
AccountRegistrationURL='http://www.actinic.co.uk/psp/protx/index.htm'
Extracts from OCCPROTXScriptTemplate.pl
my $sPROTXURL = '';
if ($bTestMode) {
# $sPROTXURL = "http://localhost/";
$sPROTXURL = "https://test.sagepay.com/gateway/service/";
} else {
# $sPROTXURL = "http://localhost/";
$sPROTXURL = "https://live.sagepay.com/gateway/service/";
}
######################################################################
$sCrypt .= "SuccessURL=".$sPROTXURL."vps2Form/ActSuccess.asp?ActVendor=" .$sMerchantID. "&ActAmount=" . $::nOrderTotal . "&AuthURL=" . Base64Encode($::sCallBackURLAuth);
$sCrypt .= "&InvoiceURL=" . Base64Encode($::sCallBackURLUser) . "&";
$sCrypt .= "FailureURL=".$sPROTXURL."vps2Form/ActFail.asp?ActVendor=" .$sMerchantID. "&RedirectURL=" . Base64Encode($::sCallBackURLBack) . "&";
All the changes were accepted and uploaded.
Payments are taken by successfully Sage Pay and appear in my account but orders appear as FAILED in the Actinic order system.
After payment is taken I get the following instead of returning to my website. So obviously a problem with the return URL.
The file you are trying to access cannot be found.
If you are looking for the Sage Pay website click here
If you are looking for the LIVE VSP Admin or LIVE My Sage Pay click here
Alternatively contact support@sagepay.com and provide the URL you are trying to use along with the error message.
Sorry for asking but I have the flu and it's way passed my bed time and my head hurts.
Gillian
Comment