Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 09-21-2004 01:37:42

Jess
Member
Registered: 08-09-2004
Posts: 54

Remote Cart Example Code Needed!

Hi All,

I have been stuck on this problem for a couple of weeks now and past pulling my hair out.

I have entered all as in the example for setting up a remote code and yet no shipping info show up.

Here is my code:

<FORM method="POST" action="http://www.creature-teacher.com/cgi-bin/cp-app.cgi">
<INPUT type="hidden" name="name" value="Indoor Drag Line">
<INPUT type="hidden" name="number" value="1">
<INPUT type="hidden" name="price" value="5">
<INPUT type="hidden" name="urlproduct" value="http://www.petexpertise.com">
<INPUT type="hidden" name="pg" value="ste_cart_add_proc">
<INPUT type="HIDDEN" name="cart_api" value="Y">
<INPUT TYPE="HIDDEN" NAME="orig_pg" VALUE="http://www.creature-teacher.com">
<INPUT TYPE="TEXT" NAME="quantity" VALUE="1" SIZE="5"><BR><BR>
<INPUT TYPE="HIDDEN" NAME="delivery_method" VALUE="P">
<INPUT TYPE="HIDDEN" NAME="prodship_name1" VALUE="Standard Shipper">
<INPUT TYPE="HIDDEN" NAME="prodship_price1" VALUE="8.00">
<INPUT TYPE="HIDDEN" NAME="prodship_name2" VALUE="Priority Mail">
<INPUT TYPE="HIDDEN" NAME="prodship_price2" VALUE="10.00">
<INPUT TYPE="HIDDEN" NAME="prodship_name3" VALUE="Overnight">
<INPUT TYPE="HIDDEN" NAME="prodship_price3" VALUE="12.00">
<INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Add To Cart">
</FORM>

And when I try to purchase the test item at  I don't see the shipping options.

Can someone please just paste what they are using and maybe I can figure out what I am doing wrong.

Jess

Offline

 

#2 09-21-2004 01:43:25

EagleWolf
Member
From: Daytona Beach, FL
Registered: 07-27-2003
Posts: 979

Re: Remote Cart Example Code Needed!

in the directory data/examples is two sample forms one is for remopte carts, with documentation in the code, have you checked there?


Chris
<a href='mailto:webmaster@equivity.com'>webmaster@equivity.com</a>
-

Offline

 

#3 09-21-2004 19:31:31

Jess
Member
Registered: 08-09-2004
Posts: 54

Re: Remote Cart Example Code Needed!

Yes, I have looked there. I have used the code from the example and everything works (including tax) EXCEPT shipping.

Jess

Offline

 

#4 09-23-2004 02:08:10

roxie
Member
From: Central Oregon
Registered: 11-17-2003
Posts: 80
Website

Re: Remote Cart Example Code Needed!

Hi Jess,
I have pasted your code into an html page on my site and it works perfectly. All 3 shipper options show up. I doubt it is the form code that is the problem.

Someone who is much more familiar with CCP might want to give some insight here. My guess is that CCP does not know what to do with the shipping part of the coding so doesn't pass it.

You can verify your code is working here (there is script error that I didn't fix)


Offline

 

#5 09-24-2004 16:21:57

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Remote Cart Example Code Needed!

I checked it out - the culprit was a missing " in a hidden form field in the production version.


Nick Hendler

Offline

 

Board footer