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

Overriding shipping for 3rd party cart Options
JohnnyJr
#1 Posted : Thursday, February 04, 2010 8:27:18 AM
Rank: Starting Member

Groups: Registered

Joined: 2/4/2010
Posts: 1
Hi,

I have developed my own shopping cart which I want the customer to pay for through paypal. I am using the chart upload command. Everything currently comes through except for shipping. What am I doing wrong?
Example below:

<form action="https://sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type='hidden' name='item_name_1' value='Mysko' />
<input type='hidden' name='amount_1' value='399.00' />
<input type='hidden' name='item_name_2' value='Sov gott' />
<input type='hidden' name='amount_2' value='529.00' />
<input type='hidden' name='item_name_3' value='Grodan' />
<input type='hidden' name='amount_3' value='199.00' />
<input type='hidden' name='discount_amount_cart' value='112.70' />
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="business" value="betalningar@xxxx.se">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="shipping" value="59.00">
<input type="hidden" name="return" value="http://www.xxxx.se/?page=checkout&step=receipt">
<input type="hidden" name="currency_code" value="SEK">
<input type="submit" value="PayPal">
</form>

In user settings for the account under "Shipping Calculation" I have checked the box "Click here to allow transaction-based shipping values to override the profile shipping settings listed above (if profile settings are enabled)."

Any ideas?

Regards,

Johnny Jr
Sponsor  
 
nds_webdesign
#2 Posted : Tuesday, March 02, 2010 6:18:54 AM
Rank: Junior Member

Groups: Registered

Joined: 10/15/2009
Posts: 159
Location: Omaha, NE USA
You need to set "no_shipping" to "2" not "1":

change:

Code:
<input type="hidden" name="no_shipping" value="1">


to:

Code:
<input type="hidden" name="no_shipping" value="2">


by setting no_shipping to 1, you are saying you don't want shipping information to be displayed to the buyer specifically the need for a shipping address, therefore you do not get to charge shipping.

jfbazin
#3 Posted : Wednesday, April 14, 2010 10:36:01 AM
Rank: Starting Member

Groups: Registered

Joined: 4/14/2010
Posts: 1
Location: France
Hi,

there is a bug in the Paypal documentation at 3rd party shopping cart:

You should use handling_cart hidden input instead to carry your shipping fees to Paypal.

<INPUT TYPE="hidden" NAME="handling_cart" VALUE="$myshipping">


JF
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 1.9.3 | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.257 seconds.