WordPress.org

Ready to get started?Download WordPress

Plugin Directory

PayPal Pay Now, Buy Now, Donation and Cart Buttons Shortcode

Adds a shortcode to display PayPal's pay now, buy now, donation and add to cart buttons with facility to customize your PayPal checkout page.

This plugin adds "paypal_button" shortcode to display pay now, buy now, donation and add to cart PayPal buttons with facility to customize their PayPal checkout page. Handy features of the plugins are

  • Four types of button Pay Now, Buy Now, Add to Cart, Donation
  • Customizable quantity field which is available as text box and drop down box with possible selected values or range of values for all types of buttons
  • Customizable PayPal Payment Button
  • Customizable PayPal Checkout page, change header logo and page color etc
  • Output can be a PayPal form with Default or Customizable PayPal button or a URL to PayPal payment/cart page that can be used on linked texts
  • All type of PayPal button options i.e. large, small, with and without Credit Card Logos
  • Set Thank you page after successful payment to return the user back to your website
  • Set Handling and Shipping charges
  • Allow buyer to add a note to order
  • Select language of your button. Supports 17 widely used languages
  • Both Admin generated amount (based on quantity) and user filled amount payments

Possible usage of the plugin are as follows

Pay Now Button: [paypal_button type="paynow" amount="100"]
Buy Now Button: [paypal_button type="buynow" name="WordPres Portfolio Theme" amount="100"]
Donation Button: [paypal_button type="donate" amount="100"] 
Add to cart Button: [paypal_button type="cart" name="Computer Table" amount="100"]
Payment Link: [paypal_button type="buynow" name="WordPres Portfolio Theme" amount="100" echo_link=1]

Set your PayPal E-Mail address and Checkout page customization in Settings->PayPal Buttons.

Usage

[paypal_button type="paynow|buynow|donate|cart" amount="100"]

Attributes

**type**: 
(string) (optional) Type of transaction. Allowed Values are 
Possible Values: 'paynow', 'buynow', 'cart' or 'donate'

**id**: 
(string) (optional) Product Number
Possible Values: Any numeric product id

**email**: 
(string) (optional) Your PayPal E-Mail address. 
Possible Values: A valid PayPal E-Mail address

**name**: 
(string) (optional) Name of the Product
Possible Values: Any String

**amount**: 
(numeric) (optional) Product price to be charged. Yes, you can left empty for user to input amount. This can be used for donations.
Possible Values: Any numeric value

**quantity**: 
(numeric or string) (optional) Specfiy quantity as number or range or possible comma separated values. Leave empty to let user specify any quantity.
Possible Values: "1" or "1,5,10" or "1-10"

**quantity_txt_postfix**: 
(string) (optional) Post fix text to be shown in quantity dropdown.
Possible Values: " items" or " products"

**field_sep**: 
(string) (optional) HTML code to separate the generated visible HTML fields. Use "<br />" for new line.
Possible Values: "&nbsp;" or "<br />"

**amount_prompt**: 
(boolean) (optional) Setting to "1" will enable user to enter amount they would like to pay.
Possible Values: 1 or 0

**echo_link**: 
(boolean) (optional) Set to "1" for linked output
Possible Values: 1 or 0

**open_new_window**: 
(boolean) (optional) Set to "1" to open payment page in a new window
Possible Values: 1 or 0

**currency**: 
(string) (optional) Currency of the Transaction. 
Possible Values: 'USD' or 'CAD' or any currency code

**tax_rate**: 
(numeric) (optional) Tax rate in percentage applied to the total price.
Possible Values: 0.0001 to 100

**shipping_charges**: 
(numeric) (optional) Shipping charges for the product. 
Possible Values: Any numeric value

**btn_url**: 
(string) (optional) Set URL of your own customizable button. Global setting is used when left empty or default PayPal Button
Possible Values: A URL to an image

**btn_size**: 
(string) (optional) Set size of the button either 'large' or 'small'.
Possible Values: 'large' or 'small'

**btn_display_cc**: 
(string) (optional) Display Credit Cards Logo under the button.
Possible Values: 'yes' or 'no'

**add_note**: 
(string) (optional) Let buyer add a note to order.
Possible Values: 'yes' or 'no'

**thankyou_page_url**: 
(string) (optional) Buyer will be redirect to this page after successful payment.
Possible Values: An absolute URL e.g. http://abc.com/thankyou

**checkout_logo_url**: 
(string) (optional) URL to your Logo image.
Possible Values: An absolute URL e.g. http://abc.com/logo.png

**checkout_header_border_color**: 
(string) (optional) Set border color of the checkout page header.
Possible Values: A HTML Hexa-decimal code. e.g. FFFF00, 999999 etc

**checkout_header_bg_color**: 
(string) (optional) Change background color of the checkout page header.
Possible Values: A HTML Hexa-decimal code. e.g. FFFF00, 999999 etc

**checkout_bg_color**: 
(string) (optional) Change background color of the entire checkout page.
Possible Values: A HTML Hexa-decimal code. e.g. FFFF00, 999999 etc

Requires: 3.0.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-2-19
Downloads: 11,038

Ratings

4 stars
4.8 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1
100,1,1