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

Clarification on eCart generation

Thread began 10/20/2014 9:49 am by Christopher West | Last modified 10/21/2014 1:57 pm by Jason Byrnes | 836 views | 15 replies |

Christopher WestCommunity Expert

Clarification on eCart generation

Hi I had a few initial questions about usig eCart.

1. If I were to use the server behavior Insert Checkout Form it generates the code that has "eCart Local Checkout" on the checkout page (together with the "checkout with PayPal express button". I noticed that this page errors and located it on line 253:

php:
<tr>

                <td><h3><?php echo(WA_getSavedFormValue('CheckoutWizard_NewFromBlank_Default','First_Name_2')?"Billing ":""); ?>Address</h3></td>



Why would it generate this code since its causing the error?

2. Also with regard to the Insert Checkout Form server behavior. Obviously it generates the code for local checkout and the Checkout with PayPal Express button...but the PayPal Express button is non functioning - what would be the appropriate direction to get this button functioning...since i would require the customer to enter the billing and shipping details from the form on this page (I want to store both billing and shipping details in the website database)...I ask this because using the main eCart Checkout wizard does a completely different approach.

3. Again with the Insert Checkout server behaviour...since it adds the server behaviour "eCart Local Checkout" on the checkout page...would I also place the "Create Email Message" and the "eCart Store Details" and "eCart Store Summary" on this page...or would I still need to place those on a confirm.php file that I need to create? Reason why I ask is that on the main eCart Checkout Wizard the "eCart Local Chceckout" is generated on the confirm.php page rather than the checkout.php page.

I have a few other questions, regarding the Preset Manager with eCart ( may have found a few bugs with with) but wanted to get the above clarified first :
Chris

Sign in to reply to this post

Jason ByrnesWebAssist

1) That code is a bug it should not be added, and can be removed. i have logged a bug in our system

2) Inserting the form does not insert any of the server behaviors, you would needs to add the server behaviors needed for express checkout.

on the checkout page you would add the Express Checkout Authentication server behavior, you should also need to create the pp_confirm page and add the Get Payer profile and Process Express Checkout behaviors.

i would suggest running the checkout wizard to create express checkout pages to get familiar with how the pages are put together.

3)

  Again with the Insert Checkout server behavior  


you misunderstand that access point, it is not a server behavior, it is only there to insert the checkout form, you need to add the server behaviors to the page that use the checkout form

this includes the create email message, store order summary / details, and the server behaviors to process the cachet through the gateway.

those behaviors are normally added to the conform page.

Sign in to reply to this post

Christopher WestCommunity Expert

I have run the checkout wizard and got it stored in a backup project file so I can refer to. but its using a different direction to the main checkout wizard...meaning that the actual server behaviour eCart Local Checkout is on the confirm.php (generated by the main checkout wizard) file not the checkout.php file that its generated using the Insert Checkout form) - this is why i am confused in the 2 different approaches.

Also I have customised the form before running the wizard using the Preset Manager (for example changing city and state form references to town and county) - then after using checkout wizard it does use my new naming references (town and county) but on the confirm page that is generates its still using the default form references (city and state).



Chris

Sign in to reply to this post

Jason ByrnesWebAssist

yes, that is the way it is supposed to be.

using eCart -> Insert Checkout Form does not add any of the server behaviors, only the checkout form

you need to add the server behaviors to the page.

the checkout page should have the checkout form

it should post to the confirm page, on the confirm page, you add server behaviors to save the shout form values to session variables.

you add a confirm checkout form and add the local checkout server behavior to process the payment when the confirm button is pressed.

Sign in to reply to this post

Christopher WestCommunity Expert

not sure if you got my ammended to my last reply:

Also I have customised the form before running the wizard using the Preset Manager (for example changing city and state form references to town and county) - then after using checkout wizard it does use my new naming references (town and county) but on the confirm page that is generates its still using the default form references (city and state).

Sign in to reply to this post

Jason ByrnesWebAssist

you will need to edit the pages after the checkout wizard generates the pages.

Sign in to reply to this post

Christopher WestCommunity Expert

I was just wondering why Insert Checkout Form generates the "eCart Local Checkout" server behaviour on the checkout page when it should really be on the confirm.php that i need to create after?

Sign in to reply to this post

Jason ByrnesWebAssist

it doesn't, it adds the form only.

Sign in to reply to this post

Christopher WestCommunity Expert

On every single test i conducted it generates the local checkout code - attaching file. this is why im getting confused.

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

Jason ByrnesWebAssist

I am not able to reproduce. It should not be adding the local checkout behavior.


you should delete it from the checkout page.

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