HTMLPayPalCart( itemname ; description ; mypaypalemail ; amount ; shippi
Rate this function: Average rating: 4.1 (19 votes) Discuss this Custom Function
Ryan Brandys, Branmuffin Industries
http://www.branmuffinindustries.com
Generates an HTML Paypal ADD TO CART Button with the parameters you specify.
Sample Input:
| HTMLPayPalCart( "MyBook" ; "Priority Shipping" ; "payme@here.com" ; 50.00 ; 10.00 ) |
|
Sample Output:
| <p><form target="paypal" action= "https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="image" src="https://www.paypal.com//en_US/i/btn/sc-but-03.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" > <input type="hidden" name="add" value="1"> <input type="hidden" name="cmd" value="_cart"> <input type="hidden" name="business" value=payme@here.com> <input type="hidden" name="item_name" value= MyBook> <input type="hidden" name="amount" value=50.00> <input type="hidden" name="shipping" value=10.00> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="on0" value=Priority Shipping> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="bn" value="PP-ShopCartBF"> <strong><font size="3" face="verdana"> </form> |
|
Description:
This function duplicates the "Paypal Merchant Tool" that allows you to create a customized ADD TO CART button. This is very useful to anyone who wants to generate a few dozen Paypal Buttons on the fly and stack them in an HTML Table.
You provide this custom function with your paypal email address, the itemname and description, and the cost of the item and shipping. it builds an HTML FORM that is compatible with Paypal's system.
This function was developed by Ryan Brandys of Branmuffin Industries.
Contact Ryan Brandys at:
branmuffinindustries@gmail.com
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:
|
Newest Custom Functions:
| 1. |
list.intersect (listA; listB) |
| |
(Mon, May 14, 12:43pm) |
| 2. |
WeekStart ( weekOfYear ; year ) |
| |
(Sat, May 12, 8:42am) |
| 3. |
PercentToWords (FIELD) |
| |
(Thu, May 10, 3:16pm) |
| 4. |
PercentToText (FIELD) |
| |
(Thu, May 10, 2:37pm) |
| 5. |
StripReserved( text ) |
| |
(Wed, May 02, 6:05pm) |
| 6. |
ListBaseTables |
| |
(Wed, May 02, 3:48pm) |
| 7. |
ValidEmail( theEmail ) |
| |
(Wed, May 02, 7:27am) |
| 8. |
UltraDate (Text; LongDate_or_DateDigit) |
| |
(Wed, May 02, 6:07am) |
 |
|