{"id":21537,"date":"2013-01-14T11:28:18","date_gmt":"2013-01-14T11:28:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/paypal-pay-buy-donation-and-cart-buttons-shortcode\/"},"modified":"2023-08-30T13:19:57","modified_gmt":"2023-08-30T13:19:57","slug":"paypal-pay-buy-donation-and-cart-buttons-shortcode","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/paypal-pay-buy-donation-and-cart-buttons-shortcode\/","author":9143366,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.7","stable_tag":"trunk","tested":"6.3.11","requires":"3.0.1","requires_php":"","requires_plugins":null,"header_name":"Paypal Pay, Buy, Donation and Cart Buttons Shortcode","header_author":"Mohsin Rasool","header_description":"","assets_banners_color":"f0f1f3","last_updated":"2023-08-30 13:19:57","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/mohsinrasool.wordpress.com\/2013\/01\/11\/wordpress-shortcode-for-paypal-pay-buy-donation-and-cart-buttons\/","header_plugin_uri":"http:\/\/mohsinrasool.wordpress.com\/2013\/01\/11\/wordpress-shortcode-for-paypal-pay-buy-donation-and-cart-buttons\/","header_author_uri":"http:\/\/mohsinrasool.wordpress.com","rating":4.8,"author_block_rating":0,"active_installs":600,"downloads":19240,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"mohsinrasool","date":"2013-01-17 14:35:34"},"1.1":{"tag":"1.1","author":"mohsinrasool","date":"2013-01-30 08:25:20"},"1.2":{"tag":"1.2","author":"mohsinrasool","date":"2013-02-01 11:32:38"},"1.3":{"tag":"1.3","author":"mohsinrasool","date":"2013-02-04 10:57:17"},"1.4":{"tag":"1.4","author":"mohsinrasool","date":"2013-02-12 09:57:22"},"1.5":{"tag":"1.5","author":"mohsinrasool","date":"2013-02-19 14:11:36"}},"upgrade_notice":{"1.7":"<ul>\n<li>Backword compatiblity <\/li>\n<li>Latest WordPres Tested<\/li>\n<\/ul>","1.6":"<ul>\n<li>Backword compatiblity <\/li>\n<li>Latest WordPres Tested<\/li>\n<\/ul>","1.5":"<ul>\n<li>Added filters<\/li>\n<li>Added feature to open payment page in a new window<\/li>\n<li>Added feature to allow for user entered payments.<\/li>\n<\/ul>","1.4":"<ul>\n<li>Added support for multilingual buttons.<\/li>\n<\/ul>","1.3":"<ul>\n<li>Added support for customizing the PayPal button.<\/li>\n<\/ul>","1.2":"<ul>\n<li>Fixed quantity feature for donation<\/li>\n<li>Added support for payment using URL. You can now use it in achor tag&#039;s &quot;href&quot; attribute also.<\/li>\n<\/ul>","1.1":"<ul>\n<li>Added Quantity drop down or text box feature to be selected by the user.<\/li>\n<li>Fix a Javascript error related to quantity<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"5"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":663118,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":656771,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":666277,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":656771,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Different flavors of the shortcode","2":"Settings page in Admin -&gt; Settings -&gt; PayPal Buttons","3":"Sample PayPal checkout page with logo replaced"}},"plugin_section":[],"plugin_tags":[3175,15162,11487,334,3045],"plugin_category":[45],"plugin_contributors":[81142],"plugin_business_model":[],"class_list":["post-21537","plugin","type-plugin","status-closed","hentry","plugin_tags-add-to-cart","plugin_tags-buy-now","plugin_tags-pay-now","plugin_tags-paypal","plugin_tags-shopping-cart","plugin_category-ecommerce","plugin_contributors-mohsinrasool","plugin_committers-mohsinrasool"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/paypal-pay-buy-donation-and-cart-buttons-shortcode_f0f1f3.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/paypal-pay-buy-donation-and-cart-buttons-shortcode\/assets\/screenshot-1.png?rev=656771","caption":"Different flavors of the shortcode"},{"src":"https:\/\/ps.w.org\/paypal-pay-buy-donation-and-cart-buttons-shortcode\/assets\/screenshot-2.png?rev=666277","caption":"Settings page in Admin -&gt; Settings -&gt; PayPal Buttons"},{"src":"https:\/\/ps.w.org\/paypal-pay-buy-donation-and-cart-buttons-shortcode\/assets\/screenshot-3.png?rev=656771","caption":"Sample PayPal checkout page with logo replaced"}],"raw_content":"<!--section=description-->\n<p>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<\/p>\n\n<ul>\n<li><strong>Four types of button<\/strong> Pay Now, Buy Now, Add to Cart, Donation<\/li>\n<li><strong>Customizable quantity field<\/strong> which is available as text box and drop down box with possible selected values or range of values for all types of buttons<\/li>\n<li><strong>Customizable PayPal Payment Button<\/strong><\/li>\n<li><strong>Customizable PayPal Checkout page<\/strong>, change header logo and page color etc<\/li>\n<li><strong>Output can be a PayPal form<\/strong> with Default or Customizable PayPal button <strong>or a URL to PayPal payment\/cart page<\/strong> that can be used on linked texts<\/li>\n<li><strong>All type of PayPal button options<\/strong> i.e. large, small, with and without Credit Card Logos<\/li>\n<li><strong>Set Thank you page<\/strong> after successful payment to return the user back to your website<\/li>\n<li><strong>Set Handling and Shipping charges<\/strong><\/li>\n<li><strong>Allow buyer to add a note to order<\/strong><\/li>\n<li><strong>Select language of your button.<\/strong> Supports 17 widely used languages<\/li>\n<li><strong>Both Admin generated amount (based on quantity) and user filled amount payments<\/strong><\/li>\n<\/ul>\n\n<p>Plugin also adds a [paypal_view_cart_link] shortcode to be used to create view cart buttons.<\/p>\n\n<p>Possible usage of the plugin are as follows<\/p>\n\n<pre><code>Pay Now Button: [paypal_button type=\"paynow\" amount=\"100\"]\nBuy Now Button: [paypal_button type=\"buynow\" name=\"WordPres Portfolio Theme\" amount=\"100\"]\nDonation Button: [paypal_button type=\"donate\" amount=\"100\"]\nAdd to cart Button: [paypal_button type=\"cart\" name=\"Computer Table\" amount=\"100\"]\nPayment Link: [paypal_button type=\"buynow\" name=\"WordPres Portfolio Theme\" amount=\"100\" echo_link=1]\n\nView Cart Link: &lt;a href=\"[paypal_view_cart_link]\"&gt;View Cart&lt;\/a&gt;\n<\/code><\/pre>\n\n<p>Set your PayPal E-Mail address and Checkout page customization in Settings-&gt;PayPal Buttons.<\/p>\n\n<h4>Usage<\/h4>\n\n<pre><code>[paypal_button type=\"paynow|buynow|donate|cart\" amount=\"100\"]\n&lt;a href=\"[paypal_view_cart_link]\"&gt;View Cart&lt;\/a&gt;\n<\/code><\/pre>\n\n<h4>Attributes<\/h4>\n\n<pre><code>**type**:\n(string) (optional) Type of transaction. Allowed Values are\nPossible Values: 'paynow', 'buynow', 'cart' or 'donate'\n\n**id**:\n(string) (optional) Product Number\nPossible Values: Any numeric product id\n\n**email**:\n(string) (optional) Your PayPal E-Mail address.\nPossible Values: A valid PayPal E-Mail address\n\n**name**:\n(string) (optional) Name of the Product\nPossible Values: Any String\n\n**amount**:\n(numeric) (optional) Product price to be charged. Yes, you can left empty for user to input amount. This can be used for donations.\nPossible Values: Any numeric value\n\n**quantity**:\n(numeric or string) (optional) Specfiy quantity as number or range or possible comma separated values. Leave empty to let user specify any quantity.\nPossible Values: \"1\" or \"1,5,10\" or \"1-10\"\n\n**quantity_txt_postfix**:\n(string) (optional) Post fix text to be shown in quantity dropdown.\nPossible Values: \" items\" or \" products\"\n\n**field_sep**:\n(string) (optional) HTML code to separate the generated visible HTML fields. Use \"&lt;br \/&gt;\" for new line.\nPossible Values: \"&amp;nbsp;\" or \"&lt;br \/&gt;\"\n\n**amount_prompt**:\n(boolean) (optional) Setting to \"1\" will enable user to enter amount they would like to pay.\nPossible Values: 1 or 0\n\n**echo_link**:\n(boolean) (optional) Set to \"1\" for linked output\nPossible Values: 1 or 0\n\n**open_new_window**:\n(boolean) (optional) Set to \"1\" to open payment page in a new window\nPossible Values: 1 or 0\n\n**currency**:\n(string) (optional) Currency of the Transaction.\nPossible Values: 'USD' or 'CAD' or any currency code\n\n**tax_rate**:\n(numeric) (optional) Tax rate in percentage applied to the total price.\nPossible Values: 0.0001 to 100\n\n**shipping_charges**:\n(numeric) (optional) Shipping charges for the product.\nPossible Values: Any numeric value\n\n**btn_url**:\n(string) (optional) Set URL of your own customizable button. Global setting is used when left empty or default PayPal Button\nPossible Values: A URL to an image\n\n**btn_size**:\n(string) (optional) Set size of the button either 'large' or 'small'.\nPossible Values: 'large' or 'small'\n\n**btn_display_cc**:\n(string) (optional) Display Credit Cards Logo under the button.\nPossible Values: 'yes' or 'no'\n\n**add_note**:\n(string) (optional) Let buyer add a note to order.\nPossible Values: 'yes' or 'no'\n\n**thankyou_page_url**:\n(string) (optional) Buyer will be redirect to this page after successful payment.\nPossible Values: An absolute URL e.g. http:\/\/abc.com\/thankyou\n\n**checkout_logo_url**:\n(string) (optional) URL to your Logo image.\nPossible Values: An absolute URL e.g. http:\/\/abc.com\/logo.png\n\n**checkout_header_border_color**:\n(string) (optional) Set border color of the checkout page header.\nPossible Values: A HTML Hexa-decimal code. e.g. FFFF00, 999999 etc\n\n**checkout_header_bg_color**:\n(string) (optional) Change background color of the checkout page header.\nPossible Values: A HTML Hexa-decimal code. e.g. FFFF00, 999999 etc\n\n**checkout_bg_color**:\n(string) (optional) Change background color of the entire checkout page.\nPossible Values: A HTML Hexa-decimal code. e.g. FFFF00, 999999 etc\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload <code>paypal-pay-buy-cart-buttons<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>You can now use \"[paypal_button]\" shortcode.<\/li>\n<li>Visit Settings page to set the default values and merchant information.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='do%20i%20need%20a%20paypal%20account%3F'><h3>Do I need a PayPal Account?<\/h3><\/dt>\n<dd><p>Yes, You do need a PayPal account to receive payments. Please visit http:\/\/paypal.com to sign up.<\/p><\/dd>\n<dt id='does%20it%20support%20all%20paypal%20buttons'><h3>Does it support all PayPal buttons<\/h3><\/dt>\n<dd><p>It supports Pay Now, Buy Now, Donate and Add to Cart Buttons.<\/p><\/dd>\n<dt id='how%20can%20i%20put%20my%20logo%20on%20checkout%20page%20using%20this%20shortcode%3F'><h3>How can I put my logo on checkout page using this shortcode?<\/h3><\/dt>\n<dd><p>You can use Logo URL field in the admin settings to place your logo on checkout page. Please make sure it is not bigger than 750x90;<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.7<\/h4>\n\n<ul>\n<li>Backword compatiblity <\/li>\n<li>Latest WordPres Tested<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Backword compatiblity <\/li>\n<li>Latest WordPres Tested<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Added filters<\/li>\n<li>Added feature to open payment page in a new window<\/li>\n<li>Added feature to allow for user entered payments.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added support for 17 languages for PayPal buttons.<\/li>\n<li>Added CSS classes for customization.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Customize the Payment Button. Set your button's URL either in settings page or in shortcode<\/li>\n<li>Fix Javascript error of quantity when used with buy now and cart buttons.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added quantity support for drop down box.<\/li>\n<li>Added support for payment using URL. You can now use it in achor tag's \"href\" attribute also.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Customizable Quantity attribute<\/li>\n<li>Quantity Text Postfix<\/li>\n<li>Added Field Seperator<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First Revision<\/li>\n<\/ul>","raw_excerpt":"Adds a shortcode to display PayPal&#039;s pay now, buy now, donation and add to cart buttons with facility to customize your PayPal checkout page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21537"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mohsinrasool"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21537"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21537"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21537"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21537"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21537"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}