close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

SagePay v3 integration with eCart

Thread began 7/08/2015 3:35 am by blu | Last modified 7/13/2015 1:50 pm by blu | 684 views | 4 replies


SagePay v3 integration with eCart


I've been trying to upgrade my client's website to integrate with SagePay v3. I need to get it done by the end of the month or it will stop working. I followed guidance on another thread on the forums and posted a couple of times on that but have been advised by Ray Borduin to start a new thread to avoid confustion with the other posters on that thread.

Where I'm up to:

I've cloned my client's website and associated MySQL database in a subfolder and I'm using this dev site to connect to the SagePay test server for the purpose of testing the integration.

I've downloaded the new version of Protx_VSPForm.php that Ray posted up on the old thread, modified my confirm.php file that sends the order to SagePay, and I can now successfully pass orders to SagePay without the encryption error that I was seeing previously.

However, once the order is placed and I'm returned to my website's order success page, that page is not able to determine the VendorTXCode using $Protx_VSPForm_Bindings["VendorTxCode"]

On the previous thread, Ray asked me to check that I had changed the encryption code on the top line of Protx_VSPForm.php which I have done and it is correct. My understanding is that it would have to be in order to connect with SagePay in the first instance so that I could place the order.

I've attached my copy of Protx_VSPForm.php and also the order_success.php page from my website that is failing to identify the VendorTXCode and hence failing to mark the order as complete in our database.

Sorry if the coding is a bit messy, I'm learning as I go

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...