Accept Bitcoin and other crypto in WordPress with a one-flat-fee, non-custodial checkout. Wallet-to-wallet - NakoPay never holds your funds.
Use this plugin for non-WooCommerce WordPress sites that need pay buttons, donation forms, tip jars, or payment links. If you run a store with cart and checkout flows, install NakoPay for WooCommerce instead.
- WordPress 6.0+
- PHP 8.0+
- A NakoPay account (free) and at least one API key from https://nakopay.com/dashboard/api-keys
| # | Source | When to use |
|---|---|---|
| 1 | GitHub Releases zip - https://github.com/NakoPayHQ/plugin-wordpress/releases/latest/download/nakopay.zip | Available today. Download nakopay.zip. |
| 2 | WordPress.org Plugin Directory - search "NakoPay" in your WP admin (Plugins -> Add New) |
Use after the listing is approved. |
| 3 | Build from source | See bottom of this file. |
You only need one of the methods below.
- Download
nakopay.zip(do not unzip). - WordPress admin -> Plugins -> Add New -> Upload Plugin.
- Choose the zip, click Install Now, then Activate Plugin.
Once approved on wp.org:
wp plugin install nakopay --activateOr from the zip:
wp plugin install /path/to/nakopay.zip --activate- Unzip on your computer - you get a folder called
nakopay/. - Upload it to
wp-content/plugins/so the final path iswp-content/plugins/nakopay/nakopay.php. - WordPress admin -> Plugins -> Activate.
- Get an API key: https://nakopay.com/dashboard/api-keys.
- WordPress admin -> Settings -> NakoPay.
- Paste your API key.
- Copy the Webhook URL the plugin shows you and paste it into your NakoPay dashboard at Settings -> Webhooks -> Add endpoint. Subscribe to
invoice.paid,invoice.completed,invoice.expired. - Paste the signing secret NakoPay shows back into the plugin's Webhook secret field.
- Save.
The plugin adds a shortcode you can drop into any post or page:
[nakopay_button amount="10" currency="USD" label="Tip the author"]
Or render a donation form:
[nakopay_donate currency="USD" suggested="5,10,25,50"]
Full shortcode reference: https://nakopay.com/docs/wordpress.
Add the shortcode to a draft page, preview it, click the button - you should see a QR + address. Pay with sk_test_* keys to confirm webhooks reach your site.
Use sk_test_* keys to run against the NakoPay sandbox. No real funds move. Flip to sk_live_* when ready.
- Plugins -> Installed Plugins -> NakoPay -> Deactivate.
- Click Delete to remove files.
- One-time checkout
- Refunds
- Subscriptions
- Multi-currency display
- Test mode
git clone https://github.com/NakoPayHQ/plugin-wordpress.git
cd plugin-wordpress
zip -r nakopay.zip . -x "*.git*" "tests/*" "*.DS_Store"See ../CONTRIBUTING.md. Run bash ../scripts/check-no-internal-urls.sh . before PRs.
plugins/scripts/release.sh wordpress 0.1.0
Workflow at .github/workflows/release-wordpress.yml. Runbook in ../PUBLISHING.md.
MIT - see ../LICENSE.