We'll create fresh WordPress site with PayPal Pay Now, Buy Now, Donation and Cart Buttons Shortcode installed. You have 20 minutes to test the plugin after that site we'll be deleted.
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
Plugin also adds a [paypal_view_cart_link] shortcode to be used to create view cart buttons.
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]
View Cart Link: <a href="[paypal_view_cart_link]">View Cart</a>
Set your PayPal E-Mail address and Checkout page customization in Settings->PayPal Buttons.
[paypal_button type="paynow|buynow|donate|cart" amount="100"]
<a href="[paypal_view_cart_link]">View Cart</a>
**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: " " 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