This plugin provides payment form by PAY.JP with simple shortcode.
Author: | koyacode (profile at wordpress.org) |
WordPress version required: | 4.9 |
WordPress version tested: | 6.5 |
Plugin version: | 1.2.0 |
Added to WordPress repository: | 24-11-2018 |
Last updated: | 04-04-2024 |
Rating, %: | 100 |
Rated by: | 3 |
Plugin URI: | https://it-soudan.com/simple-payjp-payment/ |
Total downloads: | 3 113 |
Active installs: | 200+ |
Click to start download |
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
ChangeLog