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