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

Clarification on eCart generation

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

Christopher WestCommunity Expert

Im going to use the Checkout Wizard as a fullback. But would prefer to generate all the pages myself, as I feel as a developer I would have a better understanding on the code I create.

I think what has thrown me is that on the Insert Checkout Form, the PayPal button is inside seperate form tags to that of the checkout form. So just wanted clarfication on that, since PayPal requires PayPal Express to be on a Local Checkout page (from what I read in their documentation).

Furthermore, in order for the PayPal Express button to use the same billing and shipping details on the checkout page, that PayPal Express button would need to be wrapped inside the same form tags as the Local Checkout form button. So my other question when Ray added the Local Checkout to the Insert Checkout Form, was there a different intention for they PayPal Express button to me wrapped inside a seperate form tag?

The other alternative I have is to use the Checkout Wizard to generate all the pages, and then strip it all out to its core (removing all bindings to the form fields etc) and then use my own. And then remove the Javascript that hides the billing details on the checkout form when the customer clicks on PayPal express button (Since I still require the customer to enter billing name and address so I can store that in the database).

I just wanted to get your oppinion on what I said above.

Plus also I want to find out why, when altering the the Preset Manager ecommerce->Form Contents->eCommerce theme that after running the Checkout Wizard only the checkout page uses my custom form element names but the generated confirm page doesnt. (Im attaching a screenshot to demonstrate the location of the preset options Im changing) together with the eCart Checkout Wizard generated pages (checkout.php and confirm.php to demonstrate that the checkout.pph and confirm.php are not using the same form elements (I understand I can simply change these after, but just wondered why the Checkout Wizard isnt doing this automatically).

What I want to be careful of is using my own form element name references wont error when the data is being sent to PayPal for authentification (perhaps PayPal only understands Street1, Street2, City and State rather than Address, Town and County).

Also on a seperate matter, using PayPal Sandbox developer API login for testing, would that also work for PayPal Local Checkout? As I tried my testing API login detaisl and it errors when trying to perform a transaction. And I cannot test fully until my client upgrades their PayPal account to use the local checkout method of payment.

Chris


Chris

Attached Files
checkout.php
confirm.php

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