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
combo-orderform.html, for Offline and PayPal?
Author Message
Reply with quote
Post combo-orderform.html, for Offline and PayPal? 
I'm trying to use multiple gateways, Offline and PayPal. Whichever is selected as the Primary Gateway is the one that is used for both Offline and PayPal.
Allow Multiple gateways is "yes"
Replace Order Form Tags is "no"
Either works correctly when not using multiple gateways. PayPal-order_lib.pl and Offline-order_lib.pl are in the store add_ons directory.
Perhaps my combo-orderform.html isn't coded correctly? I've tried it various ways, not sure what is used by agora.cgi to identify which gateway the user is selecting. Thank you! combo-orderform.html:

<HTML>
<HEAD>
<TITLE>Secure Order Form</TITLE>
</HEAD>
<BODY>

<FORM action="agora.cgi" method="POST">
<H2>CART CONTENTS HERE</H2>
</form>

<form method="post" action="agora.cgi">
<CENTER>
<TABLE WIDTH="550" BORDER="0" CELLPADDING="0">
<TR>
<TD COLSPAN="2" ALIGN="CENTER"><FONT SIZE="-1"><hr></FONT></TD>
</TR>
<TR>
<TD COLSPAN="2" ALIGN="CENTER"><FONT face=arial SIZE="2"><B>What method
would you like to use to pay for your order?</B></FONT></TD>
</TR>

<TR>
<TD width="50%" align="center">
<INPUT TYPE=HIDDEN NAME = "ofn" VALUE = "Offline">
<INPUT TYPE=HIDDEN NAME = "submit" VALUE = "Next">
<INPUT TYPE=HIDDEN NAME="order_form_button" VALUE="1">
<INPUT TYPE="image" NAME="Offline" VALUE="1"
SRC="agora.cgi?secpicserve=by_check.gif" border=0>
</TD>

<TD width="50%" align="center">
<INPUT TYPE=HIDDEN NAME = "ofn" VALUE = "PayPal">
<INPUT TYPE=HIDDEN NAME = "submit" VALUE = "Next">
<INPUT TYPE=HIDDEN NAME="order_form_button" VALUE="1">
<INPUT TYPE="image" NAME="PayPal" VALUE="1"
SRC="agora.cgi?secpicserve=logo-xclick.gif" border=0><p><BR><BR>
<font face=arial size=2>Use the secure PayPal system for Visa, MasterCard, American Express, Discover and Check Payments</font></TD>
</TR>

</TABLE>
</CENTER>

</BODY>
</HTML>

View user's profile Send private message Visit poster's website
Reply with quote
Post  
Make sure that the *-order_lib.pl files for each gateway are, also, copied to the 'add-ons' directory.


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Yes, PayPal-order_lib.pl and Offline-order_lib.pl have been in the store add_ons directory.
The link is:
http://www.swst.org/cgi-bin/merchandise/agora.cgi?product=clothing&xm=on

Currently, both options go to the PayPal order form. If I make Offline the primary gateway, both options go to the offline form. Any other suggestions for something I can check?

View user's profile Send private message Visit poster's website
Reply with quote
Post  
In the Primary/Core Settings, set the "Replace Order Form Tags?" to "NO"

Also, please post the entire contents of your combo-orderform.html file.
I have a sneaking suspicion that there may be a problem with the form tags...


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
The "Replace Order Forms" tag was already set to "no".

I suspect the combo-orderform.html as well. I've changed it numerous times, even tried using the combo-sampleorderform.html but couldn't get that to work either.
Here's the current combo-orderform.html:
Code:

<HTML>
<HEAD>
<TITLE>Secure Order Form</TITLE>
</HEAD>
<BODY>

<FORM action="agora.cgi" method="POST">
<H2>CART CONTENTS HERE</H2>


</form>

<form method="post" action="agora.cgi">

<CENTER>
<TABLE WIDTH="550" BORDER="0" CELLPADDING="0">
<TR>
<TD COLSPAN="2" ALIGN="CENTER"><FONT SIZE="-1"><hr></FONT></TD>
</TR>
<TR>
<TD COLSPAN="2" ALIGN="CENTER"><FONT face=arial SIZE="2"><B>What method
would you like to use to pay for your order?</B></FONT></TD>
</TR>

<TR>
<TD width="50%" align="center">
<INPUT TYPE=HIDDEN NAME = "ofn" VALUE = "Offline">
<INPUT TYPE=HIDDEN NAME = "submit" VALUE = "Next">
<INPUT TYPE=HIDDEN NAME="order_form_button" VALUE="1">
<INPUT TYPE="image" NAME="Offline" VALUE="1"
SRC="agora.cgi?secpicserve=by_check.gif" border=0>
</TD>

<TD width="50%" align="center">
<INPUT TYPE=HIDDEN NAME = "ofn" VALUE = "PayPal">
<INPUT TYPE=HIDDEN NAME = "submit" VALUE = "Next">
<INPUT TYPE=HIDDEN NAME="order_form_button" VALUE="1">
<INPUT TYPE="image" NAME="PayPal" VALUE="1"
SRC="agora.cgi?secpicserve=logo-xclick.gif" border=0><p><BR><BR>
<font face=arial size=2>Use the secure PayPal system for Visa, MasterCard, American Express, Discover and Check Payments</font></TD>
</TR>

</TABLE>
</CENTER>

</BODY>
</HTML>


View user's profile Send private message Visit poster's website
Reply with quote
Post  
Try this:
Make sure you only edit in a plain html editor or something like EditPad Lite
and be sure to upload/download the files in ASCII mode.
Code:

<HTML>
<HEAD>
<TITLE>Secure Order Form</TITLE>
</HEAD>
<BODY>

<form action="agora.cgi" method="POST">
<H2>CART CONTENTS HERE</H2>
</form>

<CENTER>
<TABLE WIDTH="550" BORDER="0" CELLPADDING="0">
<TR>
<TD COLSPAN="2" ALIGN="CENTER"><FONT SIZE="-1"><hr></FONT></TD>
</TR>
<TR>
<TD COLSPAN="2" ALIGN="CENTER"><FONT face=arial SIZE="2"><B>What method
would you like to use to pay for your order?</B></FONT></TD>
</TR>

<TR>
<TD width="50%" align="center">
<FORM action="agora.cgi" method="POST">
<INPUT TYPE=HIDDEN NAME="ofn" VALUE="Offline">
<INPUT TYPE=HIDDEN NAME="submit" VALUE="Next">
<INPUT TYPE=HIDDEN NAME="order_form_button" VALUE="1">
<INPUT TYPE="image" NAME="Offline" VALUE="1"
SRC="agora.cgi?secpicserve=by_check.gif" border=0>
</FORM>
</TD>

<TD width="50%" align="center">
<FORM action="agora.cgi" method="POST">
<INPUT TYPE=HIDDEN NAME="ofn" VALUE="PayPal">
<INPUT TYPE=HIDDEN NAME="submit" VALUE="Next">
<INPUT TYPE=HIDDEN NAME="order_form_button" VALUE="1">
<INPUT TYPE="image" NAME="PayPal" VALUE="1"
SRC="agora.cgi?secpicserve=logo-xclick.gif" border=0><p><BR><BR>
<font face=arial size=2>Use the secure PayPal system for Visa, MasterCard, American Express, Discover and Check Payments</font>
</FORM>
</TD>
</TR>

</TABLE>
</CENTER>

</BODY>
</HTML>


Let me know how it goes...

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
It worked like a charm! Thanks so much for your help!!

View user's profile Send private message Visit poster's website
Reply with quote
Post  
Ooops, one more glitch...

I want to shift the text on the final Order Confirmation page to the right. All of the checkout pages look fine until I get to the very last "Order Confirmation" page (using Offline-orderform.html). I've tried modifying the agorastyles.css to shift the checkout pages. I also looked at the secure_store_footer.html but my footer actually is a much smaller width on this final Order Confirmation page as well. What am I missing?

View user's profile Send private message Visit poster's website
Reply with quote
Post  
Your secure_store_header.html file has an error with the agorascript stuff with your shopping categories display...


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
I cleared my error.log and processed an Offline order and no errors were recorded. The order seems to process correctly, I just need to shift the Order Confirmation text. It looks like the css width of the body/footer is different than for the rest of the checkout process but I can't figure out where to change it.

Many thanks for your speedy responses!

View user's profile Send private message Visit poster's website
Reply with quote
Post  
You MUST correct your coding errors in your template files before you can move on...
HTML coding error can cause a myriad of display issues...

I am seeing some wierdness happening in the secure_store_header.html file and in your order form file....
You MUST fix your HTML coding errors before you can really try to change other display issues as they may be related...


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
My apologies, I think at the point you looked at this I had been trying to modify agoratemplates.css and agorastyles.css to shift the "Order Confirmation" checkout text.

For now, I've set the secure_store_header.html and secure_store_footer.html back to your original agora versions. I haven't made any changes to the offline-orderform.html. At this point there shouldn't be any html coding errors since the html is your original... but I still want to know how to shift the final checkout Order Confirmation text so that it's not hidden behind my left navigation menu. I was able to modify everything else with my version of the secure_store_header.html (although for now what you'll see is the original agora version). The only question I still would like to have answered is how to shift the final Order Confirmation text.

Again, many thanks.

View user's profile Send private message Visit poster's website
Reply with quote
Post  
I am STILL seeing the coding errors...


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
I guess I don't understand where to look for the coding errors since I set the secure_store_header, secure_store_footer and orderform html files back to the original agora files. Is there a log somewhere or something I can look at to see the coding errors to which you're referring?

View user's profile Send private message Visit poster's website
Reply with quote
Post  
No, it is in the secure_store_header.html file.
Whatever html editor you are using is corrupting the code, even if you never changed anything and only opened the file in your editor...
And... since you are running the store in the cgi-bin, I can give any specifics because I can't see the raw code, but I can see the results of the code and that some of the agorascript is mangled...
You may need to go to the "Downloads" link above and get the "AgoraCart Shopping Cart - AgoraCart5_2_005.tgz" file. This file,once unzipped, will provide you with the original files installed with AgoraCart that can be used as reference.
Only use a plain HTML editor, like EditPad Lite to edit your files... Other editors like FrontPage and others with mangle the code. Also, never directly edit files on the server, the tools in your cpanel/vdeck/etc... may corrupt the files...

One other thing I see is that you are trying to pull your css from inside the cgi-bin and it will not parse that way. You need to move the agoratemplate.css & agorastyles.css files outside of the cgi-bin and set the levels up in the Primary/Core Settings manager.


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Okay, I'll download the original files and start from there. I did use my host's cpanel editor at one point so maybe that's how the files got corrupted.

View user's profile Send private message Visit poster's website
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