close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
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 6:02 am by Jamie | Last modified 10/01/2015 1:27 pm by Ray Borduin | 1210 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

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

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

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

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