close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error in Orders tab of eCart Checkout Wizard

Thread began 1/20/2014 8:11 am by acornist | Last modified 6/03/2014 10:27 am by Jason Byrnes | 2760 views | 15 replies |

acornistBeta Tester

Error in Orders tab of eCart Checkout Wizard

while executing onClick in WA_Checkout_DB_Preset.htm, the following JavaScript error(s) occurred:

in file 'WA_Checkout_DB_Preset":
getOrderDataBindings is not defined.

eCart6
DW CC
Mac OSX Mavericks

Sign in to reply to this post

Jason ByrnesWebAssist

can you provide details on the steps to reproduce the error please.

Sign in to reply to this post

acornistBeta Tester

with cart.php open, I select WebAssist > eCart > Checkout Wizard
I go through the Settings, Payments, Shipping, and Tax tabs
I select the Orders tab.
The Connection dropdown shows my defined connection.
The Orders table preset dropdown shows "Default - local"
The Order details table preset shows "Default"

Under Database Settings, it says "eCart can automatically create the necessary tables and columns for you to store order information in your database. Select the Create using preset checkbox to have this done for you. If you are using your own custom database and want to bind this information manually, deselect the preset checkbox."

Alas, I see no such checkbox. If click on the "Define" button next to the Orders table preset dropdown, I'm presented with a screen that shows an orders table that does not reflect the structure of mine. If I go back and click on the Define button next to the Connection dropdown, click on my connection and click on Done, I can then go to the Define button next to Orders table preset and see the table I have defined. But if I pick any column to bind a field to, I get the error referenced in this thread.

Maybe I just don't understand what this tab is all about.

In general, eCart seems to be a little too prescriptive. There is way too much styling, making it hard to easily integrate into an existing site style. I like to use these tools to shorten up my development time and do some tasks I'm too lazy to do, but I think I'm spending too much time stripping out styling and making other such adjustments. I can see why many users like to use WA style settings, but if there was something that was really generic, it would be great for me.

Sign in to reply to this post

Jason ByrnesWebAssist

OK, I see. This is a bug that i have logged, it should be corrected shortly, it should allow for the use of your own table instead of forcing one of the presets. I will let you know an update is availbale to correct this.

as for the styling, the checkout wizard has options to use an un-styled form on the last tab. if you want to remove the styling completely, you can remove the the CSS reference page or delete the css file.


you can also use form builder to create your own form styles to match the site, save the form design as a preset and select that for use in the checkout wizard.

also, the display manager allows for creating custom designs to match your site and use later.

Sign in to reply to this post

acornistBeta Tester

Thanks Jason.

After completing the checkout wizard, I notice that that clicking the "Continue" button on the checkout page goes to a blank screen. Not sure where the error is. I put in PayPal sandbox credentials.

Any ideas? Is this related to the problem with the wizard, do you think? I have a lot of projects coming up and I really want this to work easily.

Sign in to reply to this post

Jason ByrnesWebAssist

a blank page means that a php error is occurring but error reporting is turned off.

to turn error reporting on, add the following code at line 1:

<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>



once we know what the error is, we will be able to troubleshoot the cause.

Sign in to reply to this post

acornistBeta Tester

references an undefined function curl_init() ......WA_eCart/PP_ECO_Scripts/PP_ECO_PHP.php on line 539

Sign in to reply to this post

Jason ByrnesWebAssist

this means that cURL is not enabled in the php server settings. cURL is needed in order to send the order information to the gateway for processing.
you will need to contact the host to have cURL enabled on the server by editing the PHP.ini file.

http://stackoverflow.com/questions/6382539/call-to-undefined-function-curl-init

Sign in to reply to this post

acornistBeta Tester

Jason,

Took care of the curl problem.
You've been super helpful so far and I hate to be a pain, but now I get this error:

Warning: Cannot modify header information - headers already sent by (output started at ... /checkout.php:11) in ..../confirm.php on line 96

Thanks for your help and patience

Sign in to reply to this post

Jason ByrnesWebAssist

see this thread for details on troubleshooting the headers already sent error:
http://www.webassist.com/forums/posts.php?id=19285

the key to locating the problem is in this part:
(output started at ... /checkout.php:11)

it means that the output causing the problem is somewhere between line 10 - 12. it is generally blank space or line between a closing php tag: ?> and an opening php tag <?php

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