close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to gather billing and shipping info without checkout wizard

Thread began 9/16/2009 8:42 pm by Roxana | Last modified 9/28/2009 5:22 pm by Jason Byrnes | 1881 views | 8 replies |

Roxana

How to gather billing and shipping info without checkout wizard

Hi,

In our internet-shop we don't want to offer online payment. We want the customer to order and then leave billing and shipping info. New customers pay in advance, known customers are billed with the shipment. So unfortunately I can't use the checkout wizard.

Now I am not sure how to proceed. Best I would like to add a continue-button, that directs the customer to a page that collects the billing and shipping info. Another continue-button would then direct the customer to a review page, that combines the order info and the customer info, and on that page the customer could confirm the order.

Is that possible, without having to store any customer info in a database?

Or, is there a solution for ecart users, that don't want to use online payment?

I have to mention, that I am not familiar with SQL or PHP.

Maybe there is better way to gather all the information.

I hope this question is not too complicated.

Sign in to reply to this post

Jason ByrnesWebAssist

The simplest way to accomplish this is to Use the Checkout wizard to create the pages. When using the checkout wizard, you will have to chose a payment gateway. Select Paypal Payments Pro US as the payment gateway. After the pages have been created, remove the PayPal Express Checkout button from the Checkout page, and remove the local Checkout server behavior from the Confirm page.

You will also have to reset the redirect to the success page. If you selected to have the order Information stored in the database, double click the Store order Details server behavior and set the redirect. If not double click the Universal Email server behavior and set the redirect to the success page.

Sign in to reply to this post

Roxana

Hi Jason,

Thanks for getting back. I still have a few questions.

I have created the pages and followed all your steps except the redirect. I found the behaviour on the confirm page. Where do I have to redirect it to?

Does the store order summary behaviour have to be redirected too? And if yes, where to?

Is it OK to delete the credit card info from the checkout page?

Is it OK to delete all the PayPal pages (pp_confirm, pp_checkout_success, pp_cancel and pp_checkout_failure)?

I copied the database tables from the sample store and used them for our store. The ultimate goal is to have the customer just submit the order without payment. We will then ask for advance payment or send a bill.

I will probably come up with more questions :)

Sign in to reply to this post

Jason ByrnesWebAssist

redirect to the checkout success page.


No, if you are sending a reciept, only the email behavior should have the redirect. other wise only the Store Order Details should have a redirect. If youy add a redirect to the store order summary, it will redirect before the other behavior can happen.

Yes, you can delete the paypal pages.

Sign in to reply to this post

Roxana

Hi Jason,

I applied all the adjustments and tried the checkout button in the browser. It directs me to the checkout page, from there to the confirm page, and from there to the success page. Oddly it doesn't work for all products the same. I have only a few products set up to test, and half of them will not make it through to the success page. Instead I get an error message "Unknown column 'e' in 'field list'" or "Unknown column 'S' in 'field list'".

Either way, with the display of the success page I would assume, that the the order would register in the database. But there is no new entry in the database, only the orders from the bsm sample store.

Also, when I try to put in another order, the order receipt number always stays the same. When I hit the cart link, the cart is not empty, but shows the same contents from the order.

Is this not working, because I am just running it on my local machine?

And why would some products go through and others not?

Thank you for your patience :)

Sign in to reply to this post

Jason ByrnesWebAssist

It sounds like you have some items in your catalog with an alpha numeric value for the ID column. If this is the case, then make sure the OrderDetails.ID column is set to text. also on the confirm page, double click the Store Order Details server behavior, and change the ID column to text.

For the duplicate orders, add the following to the success page after the </html> tag:

php:
<?php
// Initialize the session.
// If you are using session_name("something"), don't forget it now!
session_start();

// Unset all of the session variables.
$_SESSION = array();

// If it's desired to kill the session, also delete the session cookie.
// Note: This will destroy the session, and not just the session data!
if (isset($_COOKIE[session_name()])) {
    
setcookie(session_name(), ''time()-42000'/');
}

// Finally, destroy the session.
session_destroy();
?>
Sign in to reply to this post

Roxana

Hi Jason, thank you for your tip. You were right, our item numbers are alpha numeric. Also I added the code you posted, and everything works.

There is another question you maybe able to help me with.

On the confirm page I had to add the fields company and department to invoice and shipping information. The little check box "same as" is supposed to copy the information from the invoice info to the shipping info. But it doesn't work for the two new fields I added. Would you know where I have to change the code to make this happen?

Sign in to reply to this post

Roxana

I will open a new thread with this question.

Sign in to reply to this post

Jason ByrnesWebAssist

See my reply to your other thread here:
showthread.php?t=4870

Sign in to reply to this post

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