close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

converting to sagepay v3

Thread began 9/01/2015 3:02 am by Jamie | Last modified 10/01/2015 10:27 am by Ray Borduin | 4049 views | 11 replies |

Jamie

converting to sagepay v3

Hi Ray

Just converting that site to sagepay v3 and followed the thread here but its not working (when i go to the checkout page it is completely blank). Dreamweaver is also throwing up an error but am not sure what I have done differently to that thread....

Have attached my conform.php page.

Cheers

Jamie

Sign in to reply to this post

Ray BorduinWebAssist

Make sure your server has mcrypt installed. That could cause a blank page. If you add <?php phpinfo() ?> to a page you can check if mcrypt is listed.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

I had already checked that.

Sign in to reply to this post

Ray BorduinWebAssist

The places where you have: $[FrithsCart]
it should be: $FrithsCart

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

ok thanks

now I am getting this error: http://prntscr.com/8bvg7w

the 2.23 version is what was in the VPSProtocol field before changing over as per that thread.. does this mean I need to get in touch with Sage to get updated codes ?

Sign in to reply to this post

Ray BorduinWebAssist

I think you can get rid of all of those other form elements for v3. I think all you need are hidden fields for:
Vendor, VPSProtocol, TxType, and Crypt

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

have made those changes (attached confirm.php) but still getting this error: http://prntscr.com/8lqkel

(noticed that the form action on line 224 is using https://test.sagepay.com/Simulator/VSPFormGateway.asp - not sure if that would make a difference?)

Sign in to reply to this post

Ray BorduinWebAssist

The form action has to be updated to:
https://live.sagepay.com/gateway/service/vspform-register.vsp

I also believe you no longer should have the encryption password passed in a hidden form element, so delete line 239.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jamie

ok, thats worked but led to the next issue: http://prntscr.com/8m34ni (I tried adding <input id="Currency" name="Currency" type="hidden" value="<?php echo("GBP"); ?>"> in at line 274 but that didnt work so removed it.

Attached Files
confirm.php
Sign in to reply to this post

Ray BorduinWebAssist

What is the current error you are seeing?

Sign in to reply to this post
Did this help? Tips are appreciated...
loading

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

Content

rating

Layout

rating

Ease of use

rating

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...