Simple PAY.JP Payment

外掛說明

This plugin provides payment form by PAY.JP with simple shortcode.

Note:
The supported currency is only JPY so far.

Example of Shortcode:

[simple-payjp-payment amount=50 form-id="id-string" name='no' result-ok="https://example.tokyo/?page_id=7" result-ng="https://example.tokyo/?page_id=8" ]
  • amount (mandatory*): price in JPY
  • plan-id (mandatory*): subscription plan ID
  • form-id (mandatory): any ID of the form
  • name: show/hide name field (‘yes’ => show (default), ‘no’ => hide)
  • result-ok: page url to redirect after payment succeeded if you want to customize success message
  • result-ng: page url to redirect after payment failed if you want to customize failure message
  • prorate: disabled/enabled prorated for subscription payment (‘no’ => not prorated (default), ‘yes’ => prorated)

(*) ‘amount’ is mandatory for single payment. ‘plan-id’ is mandatory for subscription payment. ‘amount’ and ‘plan-id’ should be exclusive.

You can confirm these information of each payments in descripton property of Charge record on PAY.JP admin panel.

Only one shoutcode can be placed in a page.

API

Action hook

  • simplepayjppayment_result_ok: called after payment succeeded
  • simplepayjppayment_result_ng: called after payment failed

Localization

  • English (default) – always included
  • Japanese – always included

Technical Details

How to use is summalized in the following page:
WordPressプラグイン Simple PAY.JP Payment

安裝方式

  1. Unpack the download package.
  2. Upload all files to the /wp-content/plugins/ directory.
  3. Activate this plugin in \”Plugin\” menu.

使用者評論

2022 年 5 月 5 日
感動的なまでに簡単にpay.jpをWordPressサイトに実装できました。 本当におすすめのプラグインです! 実装方法に迷ったら,ひとまずこちらを利用することをお勧めします。
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple PAY.JP Payment〉的開發相關工作。

參與者

〈Simple PAY.JP Payment〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Simple PAY.JP Payment〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2.0

Add action hook ‘simplepayjppayment_result_ok’ and ‘simplepayjppayment_result_ng’

1.1.0

Add prorated for subscription payment

1.0.0

Increase amount limit to 3,000,000 yen

0.2.0

Add subscription payment

0.1.7

Security update

0.1.6

Add redirection option after payment to customize success/failure message

0.1.5

Align settings order to that on PAY.JP API panel

0.1.4

Change redirect process

0.1.3

Add name field

0.1.2

Fix multiple post issue by reload

0.1.1

Fix readme.txt

0.1.0

Initial release