[body 1]
[ __COMPANY__ Logo ]
[if items] [then] [item-list] [/item-list]
Order details
remove [page [item-code]][item-description] [item-accessories size][item-accessories color] [item-quantity] @ [item-price] [item-subtotal]
Subtotal [subtotal]
Sales Tax [salestax]
Shipping [shipping]
TOTAL [total-cost]

[/then] [else]

No items in your basket.

You can enter information, and it will be saved, but no checkout will happen until you order something! [/else] [/if]
Shipping Address
Name
Address


City

State/Province

Zip/Postal Code
Email Address
Country [help country_select]
Daytime Phone
Evening
We need these fields to process your order
Choose your shipping method

[if session ship_message]
Note: [data session ship_message]
[/if]
Credit Card Information
[if value mv_credit_card_info]

(A valid [help name="[default mv_credit_card_type]"] number is on file.
If you need to change it, re-enter the number. Otherwise, leave it blank and
press Next Screen
.)

[/if]

Card Number
[if value mv_credit_card_valid] [else] [/else] [/if]
Expires
Pay by credit card
I will call with payment information
Force this card number to be taken
Billing address (if different)
Name
Address
City, State, Postal Code
[set Place Order!] mv_todo=submit [/set] [if session logged_in] [then] Save my information in the database [set Save_database] mv_arg0=LITERAL(save) mv_username=[value mv_username] mv_subroutine=userdb [/set] [/then] [else] I plan on returning, save my information [if config EncryptProgram =~ /pgp/] (credit card is encrypted with PGP!) [else] (OOPS! credit card not encrypted with PGP) [/else][/if]
[/else][/if]


[buttonbar 0]
[set checkout_profile] name=required address=required city=required country=required [perl values config] $state = $Safe{'values'}->{state}; $country = $Safe{'values'}->{country}; $zip = $Safe{'values'}->{zip}; $state_ok = $state =~ /^\s*[A-Za-z][A-Za-z]\s*$/; $country =~ s/\W//g; $zip_ok = ($zip =~ /^\s*\d\d\d\d\d(-\d\d\d\d)?\s*$/); $us = ($country =~ /^(usa?|unitedstates)$/i); if (! $us) { return ''; } $out = <