Linux 软件免费装
Banner图

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

开发者 mohsinrasool
更新时间 2023年8月30日 21:19
捐献地址: 去捐款
PHP版本: 3.0.1 及以上
WordPress版本: 3.5.1
版权: GPLv2

标签

donate donation paypal add to cart shopping cart buy now pay now pay button cart button paypal payment paypal checkout donate now

下载

1.0 1.1 1.2 1.3 1.4 1.5

详情介绍:

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 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 "" for new line. Possible Values: " " or "" 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

安装:

This section describes how to install the plugin and get it working.
  1. Upload paypal-pay-buy-cart-buttons folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. You can now use "[paypal_button]" shortcode.
  4. Visit Settings page to set the default values and merchant information.

屏幕截图:

  • Settings page in Admin -> Settings -> PayPal Buttons
  • Sample PayPal checkout page with logo replaced

升级注意事项:

1.5
  • Added filters
  • Added feature to open payment page in a new window
  • Added feature to allow for user entered payments.
1.4
  • Added support for multilingual buttons.
1.3
  • Added support for customizing the PayPal button.
1.2
  • Fixed quantity feature for donation
  • Added support for payment using URL. You can now use it in achor tag's "href" attribute also.
1.1
  • Added Quantity drop down or text box feature to be selected by the user.
  • Fix a Javascript error related to quantity

常见问题:

Do I need a PayPal Account?

Yes, You do need a PayPal account to receive payments. Please visit http://paypal.com to sign up.

Does it support all PayPal buttons

It supports Pay Now, Buy Now, Donate and Add to Cart Buttons.

How can I put my logo on checkout page using this shortcode?

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;

更新日志:

1.5 1.4 1.3 1.2 1.1 1.0