Описание на русском языке доступно на
официальной Github странице плагина.
Robokassa is a payment aggregator, which helps you accept payment via a wide variety of methods, including QIWI, WebMoney, Yandex.Money, Money@Mail.ru, with different Mobile Operators (Megafon, MTC), via terminals, and others!
With this plugin, you will be able to add a robokassa widget with a field for arbitrary amount of donation, or you can add a compact button to your pages/sidebars which will lead to the robokassa payment page with default donation value, which could be set on plugin settings page!
Donations
I do not accept donations, but I would be very gratitude if you will donate to
science popularization project I work on as a volunteer.
Bugs & Feature requests
If you like my plugin, but find a bug in it, please create a bugreport on it's
official Github repository page
Also, if you have an idea how to improve the project further, please create feature requests
there, too.
Prerequisites
- In order to use this plugin, you should be familiar with Robokassa system. You can read about it on Robokassa official website (ru).
- This plugin currently works only if Permalink Settings changed from Default.
Shortcodes
This plugin supports one shortcode:
[dwr_payment_widget]. Inserting just this shortcode in an article, or on a page, will result in a widget with a field for arbitrary donation to appear on the page.
In order to insert
compact widget button, you should add an empty 'compact' parameter to the shortcode, like this:
[dwr_payment_widget compact].
Warning! If required (which are all) options are not set in the plugin settings page, a warning message will be displayed instead of a widget.
You need to follow these FIVE (
one of two at the end is optional) simple steps:
- Download a plugin and copy it to 'site-root-dir/wp-content/plugins/donate-with-robokassa' folder (or install it from "Plugins -> Add new" menu in the admin panel. You can find it using plugin search.).
- In admin panel of the site, activate the plugin (You can do it under "Plugins -> Installed Plugins" menu).
- Go to Settings -> Donate With Robokassa (DWR) page and fill in all the required fields (more details on this here).
- Add [dwr_payment_widget] shortcode anywhere on the website where you would like to see robokassa donation widget.
- (Optional) Create two pages, one of which will inform your users about the success of the operation, and probably, thank them for the donation, and other will inform them that operation has failed. Make their URLs nice and informative (you will pass these URLs in Robokassa admin panel as Success URL and Fail URL, both with GET method).
- (Optional) Instead of creating separate pages, you could just set Success URL anf Fail URL to point to your websire homepage. But this is bit rude.
That's it! You're all set up.