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

eCart Checkout Wizard - not saving order details to database.

Thread began 8/12/2015 10:15 am by Nathon Jones Web Design | Last modified 9/03/2015 7:11 pm by Ray Borduin | 1174 views | 28 replies |

Nathon Jones Web Design

eCart Checkout Wizard - not saving order details to database.

Having re-ran the eCart Checkout Wizard, making sure to uncheck the "I don't want to store my order details to database" checkbox, we've run a successful test transaction to Sage Pay but the order isn't being saved to database?

Pages attached.
Thank you.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

I think the code is added to the checkout_success page in the SagePay process. Can you send me a copy of that page?

Sign in to reply to this post

Nathon Jones Web Design

Attached. Thank you.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

Add the protx include file to the top of the checkout success page:
<?php
require_once("WA_eCart/checkoutScripts/Protx_VSPForm.php");
?>

make sure you have edited that file and put in your protx password in the first line.

Then change the triggers on lines 19 and 52 from:
if (isset($_POST["Payment_submit"]) || isset($_POST["Payment_submit_x"])) {

to:
if ($Protx_VSPServer_Profile['Success']) {

Sign in to reply to this post

Nathon Jones Web Design

That has not resolved the matter. Both pages attached.
Hope you can resolve this for us.

Thank you.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

Please reply to the other open thread with contact information and we can debug this in a screen sharing session.

Sign in to reply to this post

Nathon Jones Web Design

All set here. Let me know if you're still able to do that today. Thank you Ray.

Regards
NJ

Sign in to reply to this post

Ray BorduinWebAssist

This was because you still had an older version of the protx_vspform.php file. We downloaded the latest and it should fix this issue.

Sign in to reply to this post

Nathon Jones Web Design

In the orders table, that's automatically created by the eCart Checkout Wizard, there are the following 5 fields:

TransactionCode
TransactionID
SecurityKey
AuthorizationNumber
SignatureString

Whilst the order and order details are being stored to the relevant database tables, these fields are blank which means we've no way of cross referencing the orders in Sage Pay.

There is also an OrderComplete field which just defaults to a value of 0. Is that field simply to allow us to build in a "dispatched" notification - updating that value to a 1 for example to signify that it's been dispatched (and therefore completed)?

Thank you.
NJ

Sign in to reply to this post

Ray BorduinWebAssist

That information should be updated on the success page. Can you include a copy of it so I can see why it might not be working?

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