Donation Block

Description

Donation block plugin allow you to create dynamic PayPal donation button block quick and easy way.

Plugin Functionality:

  • Create PayPal donation button using gutenberg block
  • Place PayPal donation button shortcode on any post and page.
  • Place PayPal donation button shortcode on widget.
  • Place PayPal donation button shortcode in template file.

Shortcode

[gbdonation_button email ='yourpaypalemail@example.com' amount ='10' currency='USD' purpose='Charity for Child Health Care']
<?php echo do_shortcode('[gbdonation_button]'); ?>

Currency Codes

  • ‘AUD’ => ‘Australian Dollars (A $)’
  • ‘BRL’ => ‘Brazilian Real’
  • ‘CAD’ => ‘Canadian Dollars (C $)’
  • ‘CZK’ => ‘Czech Koruna’
  • ‘DKK’ => ‘Danish Krone’
  • ‘EUR’ => ‘Euros (€)’,
  • ‘HKD’ => ‘Hong Kong Dollar ($)’
  • ‘HUF’ => ‘Hungarian Forint’
  • ‘ILS’ => ‘Israeli New Shekel’
  • ‘JPY’ => ‘Yen (¥)’
  • ‘MYR’ => ‘Malaysian Ringgit’
  • ‘MXN’ => ‘Mexican Peso’
  • ‘NOK’ => ‘Norwegian Krone’
  • ‘NZD’ => ‘New Zealand Dollar ($)’
  • ‘PHP’ => ‘Philippine Peso’
  • ‘PLN’ => ‘Polish Zloty’
  • ‘GBP’ => ‘Pounds Sterling (£)’
  • ‘RUB’ => ‘Russian Ruble’
  • ‘SGD’ => ‘Singapore Dollar ($)’
  • ‘SEK’ => ‘Swedish Krona’
  • ‘CHF’ => ‘Swiss Franc’
  • ‘TWD’ => ‘Taiwan New Dollar’
  • ‘THB’ => ‘Thai Baht’
  • ‘TRY’ => ‘Turkish Lira’
  •     'USD' => 'US Dollars'
    
  • If you want user to enter amount to donate then do not add amount parameter in shortcode.

  • If you want user to enter purpose then do not add purpose parameter in shortcode.

Try our other premium plugins :

  1. Woocommerce Custom Related Products Pro
  2. Woocommerce Estimated Delivery Date Per Product
  3. WooCommerce Advanced Discounts and Fees

Screenshots

  • Donation Block screen one in backend
  • Donation Block screen second in backend
  • Donation Block button shortcode in front page

Blocks

This plugin provides 1 block.

gbdb/donation-block
Donation Button

Installation

  • Download the plugin
  • Upload the folder “donation-block” to wp-content/plugins (or upload a zip through the WordPress admin)

FAQ

How to create PayPal donation button ?
  • Select donation button block from blocks list.
  • Also you can place shortcode [gbdonation_button]

Contributors & Developers

“Donation Block” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Donation Block” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

= 1.0.0
* First version