[WordPress] 外掛分享: Donate With Robokassa

前言介紹

  • 這款 WordPress 外掛「Donate With Robokassa」是 2015-03-10 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2015-03-11,距離現在已有 3707 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.6.1 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

malgin |

外掛標籤

donation | robokassa |

內容簡介

作者:Malgin
項目 URL:https://github.com/Malgin/dwr-wp-plugin

在官方 Github 插件頁面中可閱讀此外掛的俄文介紹。

Robokassa 是一個支付聚合器,可以協助您接收廣泛的支付方式,包括 QIWI、WebMoney、Yandex.Money、[email protected]、不同手機運營商(Megafon、MTC)、終端等等!

使用此外掛,您將可以新增 Robokassa 元件,包括隨意金額的捐款、或者在頁面/側邊欄上新增一個緊湊的按鈕,連至 Robokassa 的支付頁面,預設的捐款值可以在插件設定頁面設定!

捐款

我不接受捐款,但我會非常感激如果您能捐給我作為志願者參與的科普項目。

常見問題與功能建議

如果您喜歡我的外掛,但在使用中發現錯誤,請在其官方 Github 儲存庫頁面上建立錯誤報告。
同樣的,如果您對如何進一步改進此外掛有任何想法,請在該處建議功能。

先決條件

為了使用此外掛,您應熟悉 Robokassa 系統。您可以在Robokassa 的官方網站上閱讀有關資訊。
此外掛僅在 WordPress 永久連結設定不為預設時才起作用。

短碼

此外掛支援一個短碼:[dwr_payment_widget]。將該短碼插入文章或頁面中,會顯示一個帶有隨意捐款金額欄位的元件。

為了插入緊湊的元件按鈕,您應添加一個空的「compact」參數到短碼中,例如:[dwr_payment_widget compact]。

警告!如果在插件設定頁面中缺少必要的設定,將會顯示一條警告訊息而非元件!

外掛設定

此外掛有兩個設定選項區:

設定 -> Donate With Robokassa(DWR)
設定 -> DWR 統計

Donate With Robokassa(DWR)設定頁面

在此頁面上,有一個需要設定的選項列表,方能讓外掛運作。

Robokassa 結果 URL。
此選項描述了一個 Robokassa 結果 URL 的一部分(Robokassa 商店設置中的一個參數),它將附加到您的網站主機名稱上。
建議您保留此選項的預設值。僅在您了解自己在做什麼時更改。
例如:您的網站是 http://myonlineblog.com/。如果「Robokassa 結果 URL」設置為預設值(即「robokassa_result」),那麼您應該將 Robokassa 商店設置頁面上的結果 URL 設置為 http://myonlineblog.com/robokassa_result。

Robokassa 結果 URL 方法
這應該與 Robokassa 商店設置頁面上的結果 URL 相同。

商戶登錄
這是一種所謂的商店識別符。您可以在 Robokassa 商店管理面板的設置頁面上找到它。

原文外掛簡介

Author: Malgin
Project URL: https://github.com/Malgin/dwr-wp-plugin

Описание на русском языке доступно на официальной Github странице плагина.
Robokassa is a payment aggregator, which helps you accept payment via a wide variety of methods, including QIWI, WebMoney, Yandex.Money, [email protected], 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.
Plugin Settings
There’s two settings sections for the plugin:

Settings -> Donate With Robokassa (DWR)
Settings -> DWR Statistics

Donate With Robokassa (DWR) Settings page
On this page, there’s a list of options, required to be set before a plugin could operate.

Robokassa Result URL.
This option describes a part of Robokassa Result URL (a parameter in Robokassa shop settings), which will be attached to your website hostname.
It is recommended to leave this option with a default value. Change it only if you understand what are you doing.
Example: Your website is http://myonlineblog.com/. If ‘Robokassa Result URL’ setting will be default (i.e. ‘robokassa_result’), then you should
set Result URL on Robokassa shop settings page to http://myonlineblog.com/robokassa_result.

Robokassa Result URL Method
This should be the same, as on Robokassa shop settings page for Result URL.

Merchant Login
This is a so called shop identifier. You can find it on the settings page of your shop in Robokassa shop admin panel.

Merchant Password & Merchant Password
Should be the same as the values you set in shop settings.

Default donation amount
The default amount set to the widget with a field for specifying donation, and default amount which will be used for a compact button.

Robokassa transaction description
The description of a Robokassa shop transaction. Will be displayed in the list of operations in admin panel of the shop.

Force delete tables
If this checkbox is set, on deactivation of a plugin a table with all transactions will be deleted.
Warning! A table holds all transaction history, and if lost, all statistics will be lost too! (Though transaction history could be
viewed in the admin panel of the shop)

DWR Statistics
Currently, this page only displays a list of last 100 donations with a very basic statistics. I plan to work on this part more, and make statistics more representative.
Localization
The plugin is localized for Russian and English languages.
Once Again
The plugin will not delete it’s DataBase table (‘dwr_donations’) on deactivation, due the possibility of loosing all donations history.
This mean that you can deactivate a plugin, and then re-activate it, and all previous statistics will be available.
There’s a checkbox on the parameters page of the plugin to force delete the table on deactivation.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Donate With Robokassa」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.1 | 1.0.2 | 1.0.3 | trunk |

延伸相關外掛(你可能也想知道)

文章
Filter
Mastodon