New SagePay URL's

I thought it might be easier if I listed the new SagePay URL's here.

I'll start with some code for Coldfusion developers who want to quickly copy and paste straight into their payment pages.

Note: These URL's are for the VSPDirect product

Also, this is not a complete list of the operations available (I don't use all of them in my code so didn't include).

<cfset protx = StructNew()>
<cfset protx.live.purchaseURL = "https://live.sagepay.com/gateway/service/vspdirect-register.vsp">
<cfset protx.live.voidURL = "https://live.sagepay.com/gateway/service/void.vsp">
<cfset protx.live.refundURL = "https://live.sagepay.com/gateway/service/refund.vsp">
<cfset protx.live.releaseURL = "https://live.sagepay.com/gateway/service/release.vsp">
<cfset protx.live.repeatURL = "https://live.sagepay.com/gateway/service/repeat.vsp">
<cfset protx.live.authoriseURL = "https://live.sagepay.com/gateway/service/authorise.vsp">
<cfset protx.live.callbackURL = "https://live.sagepay.com/gateway/service/direct3dcallback.vsp">

<cfset protx.test.purchaseURL = "https://test.sagepay.com/gateway/service/vspdirect-register.vsp">
<cfset protx.test.voidURL = "https://test.sagepay.com/gateway/service/void.vsp">
<cfset protx.test.refundURL = "https://test.sagepay.com/gateway/service/refund.vsp">
<cfset protx.test.releaseURL = "https://test.sagepay.com/gateway/service/release.vsp">
<cfset protx.test.repeatURL = "https://test.sagepay.com/gateway/service/repeat.vsp">
<cfset protx.test.authoriseURL = "https://test.sagepay.com/gateway/service/authorise.vsp">
<cfset protx.test.callbackURL = "https://test.sagepay.com/gateway/service/direct3dcallback.vsp">

<cfset protx.sim.purchaseURL = "https://test.sagepay.com/Simulator/VSPDirectGateway.asp">
<cfset protx.sim.voidURL = "https://test.sagepay.com/Simulator/VSPServerGateway.asp?Service=VendorVoidTx">
<cfset protx.sim.refundURL = "https://test.sagepay.com/Simulator/VSPServerGateway.asp?Service=VendorRefundTx">
<cfset protx.sim.releaseURL = "https://test.sagepay.com/Simulator/VSPServerGateway.asp?Service=VendorReleaseTx">
<cfset protx.sim.repeatURL = "https://test.sagepay.com/Simulator/VSPServerGateway.asp?Service=VendorRepeatTx">
<cfset protx.sim.authoriseURL = "https://test.sagepay.com/Simulator/VSPServerGateway.asp?Service=VendorAuthoriseTx">
<cfset protx.sim.callbackURL="https://test.sagepay.com/Simulator/VSPDirectCallback.asp">

Now here are the URL's without the code:

LIVE

 

purchaseURL = https://live.sagepay.com/gateway/service/vspdirect-register.vsp
voidURL = https://live.sagepay.com/gateway/service/void.vsp
refundURL = https://live.sagepay.com/gateway/service/refund.vsp
releaseURL = https://live.sagepay.com/gateway/service/release.vsp
repeatURL = "ttps://live.sagepay.com/gateway/service/repeat.vsp
authoriseURL = https://live.sagepay.com/gateway/service/authorise.vsp
callbackURL = https://live.sagepay.com/gateway/service/direct3dcallback.vsp

TEST

purchaseURL = https://test.sagepay.com/gateway/service/vspdirect-register.vsp
voidURL = https://test.sagepay.com/gateway/service/void.vsp
refundURL = https://test.sagepay.com/gateway/service/refund.vsp
releaseURL = https://test.sagepay.com/gateway/service/release.vsp
repeatURL = https://test.sagepay.com/gateway/service/repeat.vsp
authoriseURL = https://test.sagepay.com/gateway/service/authorise.vsp
callbackURL = https://test.sagepay.com/gateway/service/direct3dcallback.vsp

SIM

purchaseURL = https://test.sagepay.com/Simulator/VSPDirectGateway.asp
voidURL = https://test.sagepay.com/Simulator/VSPServerGateway.asp?Service=VendorVoidTx
refundURL = https://test.sagepay.com/Simulator/VSPServerGateway.asp?Service=VendorRefundTx
releaseURL = https://test.sagepay.com/Simulator/VSPServerGateway.asp?Service=VendorReleaseTx
repeatURL = https://test.sagepay.com/Simulator/VSPServerGateway.asp?Service=VendorRepeatTx
authoriseURL = https://test.sagepay.com/Simulator/VSPServerGateway.asp?Service=VendorAuthoriseTx
callbackURL = https://test.sagepay.com/Simulator/VSPDirectCallback.asp

 

Comments
© 2010 James Allen | Contact Me
This blog runs on the awesome power of BlogCFC - created by Raymond Camden. This blog is running version 5.9.