How do I amend the URL I send transactions to if I have used the Sage Pay integration kit?

If you performed a custom integration with Sage Pay Go using one of the integration kits provided by Sage Pay, you will be able to access the URL's to amend within the scripting files provided.  All the transaction URL's are provided within a file called "Includes" and this will be the same if you have integrated using the Form, Server or Direct integration method and which scripting language you are using.

Please note that you will need to have direct access to this file and also be able to edit this file in order to perform the change.  If you do not, then we would recommend you speak to your IT developer or hosting company who will be able to do this for you or provide you with instructions.
Once you have located this file, simply open this file up and look for the URL's which can be found under the following heading:


'**************************************************************************************************
' Global Definitions for this site
'**************************************************************************************************

Here you will see all the URL's relevant to the integration method you are using.  Simply update these URL's and save using the menu bar File > save or by pressing CNTRL + S.

Once you have amended and closed down this file, the change will have taken affect.  If you have been provided with this file, you will need to simply upload this to replace the current "Includes" file.

For more information on which URL should be used please consult the appropriate ‘Protocol and Integration guide’ which can be downloaded in the User Guide section.

Didn't see your answer here?

For further help please contact us.