The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
separate shipping and billing
Author Message
Reply with quote
Post separate shipping and billing 
Hello,
I have looked everywhere trying to find out how to offer separate shipping and billing fields on the check out pages.

In the LinkpointHTML-orderform.html the fields listed will be used as the billing info for the Linkpoint secure order form.

In the LinkpointHTML-order_lib.pl it states the required fields are
@sc_order_form_required_fields = (
'Ecom_BillTo_Online_Email',
'Ecom_ShipTo_Postal_Name',
'Ecom_ShipTo_Postal_Street_Line1',
'Ecom_ShipTo_Postal_City',
"Ecom_ShipTo_Postal_StateProv",
"Ecom_ShipTo_Postal_PostalCode");

I am confused by this because the required fields are the ship to fields instead of the billing fields. I would think that the required fields would be billing since the linkpoint secure order form then only takes credit card info, no billing info. The hidden fields show the shipto info, no billto info

How can I have separate fields for shipping and billing and have it work correctly.
Thanks!

View user's profile Send private message
Reply with quote
Post RE: separate shipping and billing 
hell-o
don't worry about the shipto billto stuff. this is all transparent and can be labeled for anything.
you can change the text on the form to "enter your shipping information". you will get this data from this form in your order log and the merchant email.
when they are directed to linkpoint they will be required to fill out their cc number and their cc billing address. when having a remote cc transaction solution there is no need to have the billto information. this data can be had through your linkpoint transaction records.
much of what you see in the default store; most people customize the text, code, design and more. as a matter of fact terminology is especially intended to customize to your needs.
regards,
dan

Reply with quote
Post  
Thanks for your reply. However, when I get to the secure form on Linkpoint, they don't ask for a name or zip code, they only ask for the credit card number, card code and expiration date. They take the billing name and zip code from the form generated by Agora and they take it from the ship to not the bill to information.

In other words, if I set up a section for billing info and a section for shipping info and name the fields BillTo and ShipTo respectively, Linkpoint gets the credit card billing name and zip code from the Ecom_ShipTo_Postal_PostalCode
Ecom_ShipTo_Postal_Name
I tested it by putting in different names and zips for shipping and billing and I could see in the hidden fields on Linkpoints secure form that the info was taken from the two ship fields,they don't take anything from the billto except the email address. This would mean that the credit card would get rejected because they would be using the wrong name and zip code.

You can try it out for yourself here
http://66.201.113.196/cgi-bin/store/agora.cgi
Thanks for your help on this.

View user's profile Send private message
Reply with quote
Post RE: separate shipping and billing 
hell-o
excellant use for your storefront page!

looking at the source the entire upper form is billto.
the entire lower form is shipto

lookin at the order lib.pl file...

'Ecom_BillTo_PostalCode', 'Billing Address Zip',
'Ecom_BillTo_Postal_CountryCode', 'Billing Address Country',
'Ecom_ShipTo_Postal_Street_Line1', 'Shipping Address Street',
'Ecom_ShipTo_Postal_City', 'Shipping Address City',
'Ecom_ShipTo_Postal_StateProv', 'Shipping Address State',
'Ecom_ShipTo_Postal_PostalCode', 'Shipping Address Zip',

form there id does revert to shipto. the shipto is necessary for api shipping costs and to finalize the total cost.

you are correct in that if indeed the shipto zip is diffent from the valid cc billto zip and the shipto is being passed to linkpoint then the cc will be declined.

i don't have time to isolate which and where the actual billto zip is being passed to linkpoint but i would think it would probably be the text of cart.

try this...
change this line:
<INPUT TYPE=HIDDEN NAME='bzip' VALUE=\"$eform_Ecom_ShipTo_Postal_PostalCode\">
to
<INPUT TYPE=HIDDEN NAME='bzip' VALUE=\"$eform_Ecom_BillTo_Postal_PostalCode\">

and see what happens.

regards,
dan

Reply with quote
Post  
Thanks so much Dan! I found the places it needed to be changed.

View user's profile Send private message
Reply with quote
Post Ok what did you find 
How about sharing what you found had to be changed

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum