Tsuni_Night



[Cart] [Cart Link Generator] [Cart Links Explained] [Buy Now] [Subscription]
[Donation] [Options] [Variables] [Shipping] [Languages]

SHIPPING

I'd first like to state that PayPal's shipping options are very limited, and do not rely on weight and ounces. At this time PayPal does not have a shipping calculator. If exact shipping is something you require I recommend considering a third party shopping cart that integrates with PayPal. There are many different options out there, and they may meet your shipping needs better than PayPal's Buttons, and still allow you to have PayPal as a payment processor. To view some shopping carts that integrate with PayPal please visit the PayPal Third Party Solutions for Storefronts and Shopping Carts page.

PayPal has two types of shipping, Profile and Hard Coded.

Profile Shipping
This type of shipping has two types: Flat Rate and Percentage. Both are based on a gradient and dollar amount. This type of shipping is only declared in your profile, and you will not need to add anything to the buttons for shipping. To get to this portion of your PayPal account please follow the instructions below:
  1. Log into your PayPal account at http://www.paypal.com
  2. Click on Profile from your account Overview. (Located in the upper right hand side in white lettering)
  3. Click on Shipping Calculations in the third column of your profile
  4. Edit as desired and save amu changes
Once you are there you should see the ability to edit your gradient scale and choose flat rate or percentage. PayPal has a generic gradient already loaded, you simply need to alter the cost amount if the gradients are acceptable. If they are not you can edit them as needed. Please note that this information needs to be consecutive. So if the first gradient is 0.01 to 9.99 your next gradient should start at 10.00. If your gradient is not consecutive you will be unable to save your changes. You can also not have a gradient larger than 999.999. If you are going to require shipping orders totaling over this amount you may wish to use the hard code shipping option or a third party solution that has more options.

Once your gradient is acceptable simply save your changes. Please note that if you would like to use both types of shipping (profile and hard coded) you will want to check the box that says: Click here to allow transaction-based shipping values to override the profile shipping settings listed above (if profile settings are enabled). This will allow any hard coded shipping to override your profile. If this is not enabled your profile will override anything that is coded into the button.

When typing in percentages please remember to type it in the format 70 for 70% NOT .70. Your shipping will not calculate correctly if you type it in decimal format as it is reading it as a percentage already.

Percentage shipping will calculate it based on the total amount being purchased. It will look at the percentage for the range and calculate it based on the total. Flat rate shipping will calculate a specific amount that falls within the range in question.

Hard Coded Shipping
Hard Coded shipping is based off of a dollar amount that is entered per product. There are two lines of code you will need to ad per item. The variable names are shipping and shipping2. The two lines of code should look somewhat like:

<input type="hidden" name="shipping" value="2.00">
<input type="hidden" name="shipping2" value="1.00">

The examples above will charge $2.00 for the first item in question and $1.00 for each additional item. So if the customer purchases 3 products they will be charged $4.00 shipping. ($2.00 + $1.00 + $1.00 = $4.00). Please remember that this coding will only affect this product only. Other items would need to have their own shipping variables entered, or you can set them up to pull shipping amounts from your profile.

The code examples would go between the
tags of the button. Please note that each standard PayPal button starts and ends with a form tag. I have included example code below of what the code should look like with both lines of code added.

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="youremail@domain.com">
<input type="hidden" name="item_name" value="Item Name Here">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="shipping" value="2.00"<
<input type="hidden" name="shipping2" value="1.00"<
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit">
</form>

Please note that if you would like to use both types of shipping (profile and hard coded) you will want to check the box that says: Click here to allow transaction-based shipping values to override the profile shipping settings listed above (if profile settings are enabled). This will allow any hard coded shipping to override your profile. If this is not enabled your profile will override anything that is coded into the button, and your hard coded shipping will be ignored.

Another thing you can do if you want to have the first item they purchase be $X.XX, and each additional item be $X.XX you can use the shipping variables along with the handling_cart variable.  The handling_cart value will only be added once in a shopping cart.  I have provided an example below that uses this variable to charge a base shipping fee of $6.00 and $1.00 for each additional item.   So in this case handling_cart is set to $5.00 and each item to the cart that is added will be $1.00.  This will make it so it doesn't matter what item the customer chooses first, it will simply charge the same amount.  In this case the three bold lines would need to be added to each of your non-encrypted buttons in order to work properly.  This is very helpful if you have a set amount of shipping that you need for each item.

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="youremail@domain.com">
<input type="hidden" name="item_name" value="Item Name Here">
<input type="hidden" name="amount" value="1.00">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="handling_cart" value="5.00">
<input type="hidden" name="shipping" value="1.00">
<input type="hidden" name="shipping2" value="1.00">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit">
</form>

[ Home ] [ Forums ] [ Tsuni ] [ Bryir ] [ HTML Help ] [ PayPal Help ] [ Zodiac ] [ Links ]