This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Paypal Shortcodes

Description

Add a paypal button (using shortcode) into your pages/posts
Edit the wp-content/plugins/wp-paypal-shortcodes/wp-paypal-shortcodes.php for configure the plugin.

Shortcode

Add the following shortcodes to integrate PayPal into your pages / posts of wordpress.

[paypalBtn production="true" amount="55" item_name="ProduitB"]

Insert the button in your pages or posts with this shortcode

[paypalBtn production="true" amount="55" item_name="ProduitB" business="seller@yourSite.com"]

with the merchant email

[paypalBtn production="true" amount="55" item_name="t-shirt" optiontype0="select" on0="color" os0="red;green;blue;orange;yellow"]

with option select

Arbitrary section

Buy a product with a shortcode
* @param production : choose if you are test phase, or production
* @param amount : price for your product/service
* @param currency_code : devise
* @param shipping : shipping price
* @param tax : tax price
* @param return : url for the return (after buy)
* @param cancel_return : url for the cancel (during the payment phase)
* @param notify_url : url for the return (after payment validation IPN)
* @param on0 : nom option 1
* @param os0 : value option 1
* @param on1 : nom option 2
* @param os1 : value option 2
* @param on2 : nom option 3
* @param os2 : value option 3
* @param on3 : nom option 4
* @param os3 : value option 4
* @param on4 : nom option 5
* @param os4 : value option 5
* @param business : email address of your paypal account
* @param item_name : name of your product/service
* @param no_note : autorized to file a note or not
* @param lc : location
* @param bn : button type
* @param custom : custom field

Usage

[paypalBtn production=”false” amount=”55″ currency_code=”EUR” shipping=”0.00″ tax=”0.00″ on0=”optionD” os0=”ddd” on1=”optionE” os1=”eee” on2=”optionF” os2=”fff” business=”xxx@xxx.fr” item_name=”ProduitB” no_note=”0″ lc=”FR” bn=”PP-BuyNowBF” custom=”abc”]

Screenshots

  • Active the extension wordpress admin.
  • Page integration shortcode more informations French web agency.
  • With option select (ex: Color: reg, green, blue, orange, ...)

Installation

  1. Download the plugin Zip archive.
  2. Upload ‘paypal-shortcodes’ folder to your ‘/wp-content/plugins/’ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Edit wp-paypal-shortcodes.php and define your settings.

FAQ

how use the plugin

With the shortcode “paypalBtn” into your pages/posts.
Ex: [paypalBtn amount=”30″ item_name=”product name” amount=”50″]
You can create multiple shortcode.

Contributors & Developers

“WP Paypal Shortcodes” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.3

  • add option with select (Color: red, blue, green, orange. Size: S, M, L, XL)

0.2

  • add condition if you not use field
  • add language management with .mo (use .po into lang file)

0.1

  • Original version released to wordpress.org repository