YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Problem with Shipping Variables.. Options
badger
#1 Posted : Monday, November 25, 2002 9:41:04 PM
Rank: Starting Member

Groups: Registered

Joined: 11/25/2002
Posts: 3
Location: ,
>> Adding PayPal Checkout to 3rd Party Shopping Carts I am working on implementing just such a thing, and I have read the article over and over again. Specifically I need to know if the shipping variable are working correctly. They do not appear to be working correctly.. Here is an example of my code: <form action='https://www.paypal.com/cgi-bin/webscr' method='post'> <input type='hidden' name='cmd' value='_cart'> <input type='hidden' name='upload' value='1'> <input type='hidden' name='item_name_1' value='S.E.M;I - Electric Cell'> <input type='hidden' name='item_number_1' value='SYNC011'> <input type='hidden' name='quantity_1' value='1'> <input type='hidden' name='shipping1_1' value='$1.50'> <input type='hidden' name='shipping2_1' value='$1.00'> <input type='hidden' name='amount_1' value='$9.00'> <input type='hidden' name='item_name_2' value='Negative Format - Distant Pulses'> <input type='hidden' name='item_number_2' value='NEGF003'> <input type='hidden' name='quantity_2' value='1'> <input type='hidden' name='shipping1_2' value='$1.50'> <input type='hidden' name='shipping2_2' value='$1.00'> <input type='hidden' name='amount_2' value='$12.50'> <input type='hidden' name='business' value='badger@badger.cx'> <input type='image' src='http://images.paypal.com/images/x-click-but01.gif' name='submit' alt='Order with Paypal'> </form> By my personal calculations, shipping should be an additional $2.50, but this doesn't appear when I go through the process with a different user. What am I doing wrong? I need to be able to set the shipping per item from my shopping cart since I ship to different regions in the world, and need to be able adjust my shipping prices for different countries. Help?
Sponsor  
 
PayPalStephen
#2 Posted : Tuesday, November 26, 2002 5:04:56 PM
Rank: Starting Member

Groups: Registered

Joined: 10/17/2002
Posts: 2,139
Location: ,
The first shipping should not have a ( 1 ) after it.

Try this:

&lt;form action='https://www.paypal.com/cgi-bin/webscr' method='post'&gt;
&lt;input type='hidden' name='cmd' value='_cart'&gt;
&lt;input type='hidden' name='upload' value='1'&gt;
&lt;input type='hidden' name='item_name_1' value='S.E.M;I - Electric Cell'&gt;
&lt;input type='hidden' name='item_number_1' value='SYNC011'&gt;
&lt;input type='hidden' name='quantity_1' value='1'&gt;
&lt;input type='hidden' name='shipping_1' value='$1.50'&gt;
&lt;input type='hidden' name='shipping2_1' value='$1.00'&gt;
&lt;input type='hidden' name='amount_1' value='$9.00'&gt;
&lt;input type='hidden' name='item_name_2' value='Negative Format - Distant Pulses'&gt;
&lt;input type='hidden' name='item_number_2' value='NEGF003'&gt;
&lt;input type='hidden' name='quantity_2' value='1'&gt;
&lt;input type='hidden' name='shipping_2' value='$1.50'&gt;
&lt;input type='hidden' name='shipping2_2' value='$1.00'&gt;
&lt;input type='hidden' name='amount_2' value='$12.50'&gt;
&lt;input type='hidden' name='business' value='badger@badger.cx'&gt;
&lt;input type='image' src='http://images.paypal.com/images/x-click-but01.gif' name='submit' alt='Order with Paypal'&gt;
&lt;/form&gt;


Stephen Ivaskevicius
PayPal/eBay, Inc.
badger
#3 Posted : Wednesday, November 27, 2002 10:13:39 PM
Rank: Starting Member

Groups: Registered

Joined: 11/25/2002
Posts: 3
Location: ,
That didn't work either. Neither does removing teh shipping variable out of the loop.. based on input from the dev's at PayPal..

Here is my new code (that still does not show shipping values.

&lt;form action='https://www.paypal.com/cgi-bin/webscr' method='post'&gt;
&lt;input type='hidden' name='cmd' value='_cart'&gt;
&lt;input type='hidden' name='upload' value='1'&gt;
&lt;input type='hidden' name='no_shipping' value='1'&gt;
&lt;input type='hidden' name='shipping' value='$1.50'&gt;
&lt;input type='hidden' name='shipping2' value='$1.00'&gt;
&lt;input type='hidden' name='item_name_1' value='S.E.M;I - Electric Cell'&gt;
&lt;input type='hidden' name='item_number_1' value='SYNC011'&gt;
&lt;input type='hidden' name='quantity_1' value='1'&gt;
&lt;input type='hidden' name='amount_1' value='$9.00'&gt;
&lt;input type='hidden' name='item_name_2' value='Monstrum Sepsis - Primordial Notion [2CD]'&gt;
&lt;input type='hidden' name='item_number_2' value='SYNC008'&gt;
&lt;input type='hidden' name='quantity_2' value='1'&gt;
&lt;input type='hidden' name='amount_2' value='$11.00'&gt;
&lt;input type='hidden' name='business' value='badger@badger.cx'&gt;
&lt;input type='image' src='http://images.paypal.com/images/x-click-but01.gif' name='submit' alt='Order with Paypal'&gt;
&lt;/form&gt;

I'm stumped here.
paypal_pb
#4 Posted : Friday, November 29, 2002 1:06:03 AM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
Stephen's FORM is correct and works OK for me. What is the problem you are seeing?

Note: you won't see the shipping amounts until you get to teh second PayPal page.

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
badger
#5 Posted : Monday, December 02, 2002 10:22:53 PM
Rank: Starting Member

Groups: Registered

Joined: 11/25/2002
Posts: 3
Location: ,
The problem I am seeing is that the shipping is not calculated when I get to step 2.

I don't even see a line for it.

Here is the latest code attempt. (as generated by my ASP code)

&lt;form action='https://www.paypal.com/cgi-bin/webscr' method='post'&gt;
&lt;input type='hidden' name='cmd' value='_cart'&gt;
&lt;input type='hidden' name='upload' value='1'&gt;
&lt;input type='hidden' name='business' value='badger@badger.cx'&gt;
&lt;input type='hidden' name='no_shipping' value='1'&gt;
&lt;input type='hidden' name='shipping' value='1.00'&gt;
&lt;input type='hidden' name='shipping2' value='1.00'&gt;
&lt;input type='hidden' name='cs' value='1'&gt;
&lt;input type='hidden' name='item_name_1' value='S.E.M;I - Electric Cell'&gt;
&lt;input type='hidden' name='item_number_1' value='SYNC011'&gt;
&lt;input type='hidden' name='quantity_1' value='1'&gt;
&lt;input type='hidden' name='amount_1' value='$9.00'&gt;
&lt;input type='hidden' name='item_name_2' value='Negative Format - Distant Pulses'&gt;
&lt;input type='hidden' name='item_number_2' value='NEGF003'&gt;
&lt;input type='hidden' name='quantity_2' value='1'&gt;
&lt;input type='hidden' name='amount_2' value='$12.50'&gt;
&lt;input type='hidden' name='item_name_3' value='St. Vitus Dance - The Feeling of Absence'&gt;
&lt;input type='hidden' name='item_number_3' value='SVD001'&gt;
&lt;input type='hidden' name='quantity_3' value='1'&gt;
&lt;input type='hidden' name='amount_3' value='$11.00'&gt;
&lt;input type='image' src='http://images.paypal.com/images/x-click-but01.gif' name='submit' alt='Order with Paypal'&gt;
&lt;/form&gt;

When I login as a different user than my main account, I see all three items in the shopping cart.

after going to step two, where the shipping SHOULD be calculated, I don't see any line for shipping. there is no next step after this page, it is the PAY page.

Help?
paypal_pb
#6 Posted : Monday, December 02, 2002 11:24:53 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
That's inocrrect. It needs to be like:

&lt;input type='hidden' name='shipping_1' value='$1.50'&gt;
&lt;input type='hidden' name='shipping2_1' value='$1.00'&gt;

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
ron
#7 Posted : Sunday, December 08, 2002 6:53:26 PM
Rank: Starting Member

Groups: Registered

Joined: 11/24/2002
Posts: 2,004
Location: ,
Sorry, but doesn't PayPal's documentation say that before shipping and shipping2 will work that the user has to check the "allow override" box in the profile? Didn't try it, but rememberr reading that...

Ron.


close
paypal_pb
#8 Posted : Monday, December 09, 2002 6:31:23 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
Correct, if the merchant has Profile shipping set up.

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
Guest(old)
#9 Posted : Wednesday, December 11, 2002 10:17:31 PM
Rank: Starting Member

Groups: Registered

Joined: 11/12/2002
Posts: 312
Location: ,
I wonder whether this thread relates to what I am trying to do. I need to be able to enable the purchaser to select one of three shipping ooptions (costs) depending on the part of the world that they live in eg. Ship within the USA $4.00, Whip to Europe $19.50, Ship to Asia $20.50. Can this be done?

How do I include multiple shipping payment options?
paypal_pb
#10 Posted : Wednesday, December 11, 2002 11:44:55 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
One option: http://www.paypaldev.org/topic.asp?TOPIC_ID=73

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.274 seconds.