close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Sending info to SagePay

Thread began 8/28/2014 1:17 pm by daniel279790 | Last modified 9/11/2014 4:21 pm by Jason Byrnes | 989 views | 17 replies |

daniel279790

Sending info to SagePay

Hi Jason

I'm using Ecart 6 on Dreamweaver CS6.
In my website I'm sending the shopping cart to SagePay. But I don't know how I add more information to the Product Name field.

e.g. When I look at a transaction on SagePay website, it displays the Product Name but I'd also like another bit of info to go to SagePay with it.
So when I look in SagePay I see...
Product Name (Reference Number)

I did something similar with another site that went to PayPal and that was very easy to add. But I can't find the field on the confirm.php page that contains the Product Name details so that I can also add the Ref Number to it!

Also when I view a transaction in SagePay instead of showing the price as £99.99 it shows it as £99.99

So I think something is going wrong there.

Hope that all makes sense.

Many Thanks

Richard

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

daniel279790

Hi Jason
Thank you, the info you need is below...

Sign in to reply to this post

daniel279790

Hi Jason
Not sure if you've had a chance to look at this yet but I've just changed the FTP details. So if you are about to look at it the FTP is now...

Sign in to reply to this post

Jason ByrnesWebAssist

I updated the WA_eCart/checkoutScripts/Protx_VSPForm.php file to concatenate the ID column to the item Name passed to sagepay and to remove the currency symbol from the prices.

Sign in to reply to this post

daniel279790

Hi Jason
Thanks for doing that! Like I said in last post I've now moved the IP address. So I downloaded your amended WA_eCart/checkoutScripts/Protx_VSPForm.php file and uploaded it to the new IP address. But when I've come to test it, the shopping cart page works fine but when it gets to the Checkout page I get a white screen :(

And the same white screen when I test the confirm.php file! I've put an error code <?php ini_set('display_errors', 1);
error_reporting(E_ALL ^ E_NOTICE); session_start(); ?>

At the top of those pages but it doesn't display anything at all still.

Any ideas whats gone wrong?

Sign in to reply to this post

Jason ByrnesWebAssist

use this error reporting level:
error_reporting(E_ALL);


in your code you are suppressing notices, and the error is probably a notice.

Sign in to reply to this post

daniel279790

Hi Jason

I've changed the error code to...
<?php error_reporting(E_ALL); ?>

But its still just a white screen? :(

Sign in to reply to this post

daniel279790

Morning Jason
Sorry to bother you, I'm still getting with white screen on all checkout pages after the cart page. I've changed the error code to <?php error_reporting(E_ALL); ?> but it's still blank!

Any ideas what's gone wrong???

Sign in to reply to this post

Jason ByrnesWebAssist

i am not able to reproduce when testing the checkout at:
http://www.craftuk.net


the checkout page is loading correctly for me on that page? I need to be able to reproduce in order to troubleshoot.

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