[BREAKGLASS] BTCPay Server for WooCommerce V2 plugin.
Go to file
ndeet 2a8fd7091d
Some checks failed
Build and deploy to WordPress.org / New release (release) Has been cancelled
Add feature to changelog.
2026-04-20 15:09:31 +02:00
.github Bumping nodejs to v20 and updating dependencies. 2026-03-25 09:37:05 +01:00
.wordpress-org Shrink screenshots to save space. 2024-01-22 22:28:52 +01:00
assets Adding BTCPay, Bitcoin and LN icons on order overview. (#74) 2026-04-15 16:22:15 +02:00
bin Support for WooCommerce cart and checkout blocks (#32) 2023-12-14 22:41:49 +01:00
languages WooCommerce Blocks: Add support for separate payment gateways. (#75) 2026-04-20 14:13:30 +02:00
resources/js WooCommerce Blocks: Add support for separate payment gateways. (#75) 2026-04-20 14:13:30 +02:00
src Add refund links to order details page. (#77) 2026-04-20 15:06:19 +02:00
tests Initial commit, basic structure and settings forms. 2021-10-06 14:02:27 +02:00
updates Add option to protect order status changes if they are already processing or completed. 2024-01-22 22:28:31 +01:00
.distignore Minor fixes / changes (#61) 2025-04-10 15:17:28 +02:00
.editorconfig Initial commit, basic structure and settings forms. 2021-10-06 14:02:27 +02:00
.gitignore Support for WooCommerce cart and checkout blocks (#32) 2023-12-14 22:41:49 +01:00
.phpcs.xml.dist Initial commit, basic structure and settings forms. 2021-10-06 14:02:27 +02:00
.travis.yml Adding more todo, ignore docker on build for wp directory. 2021-12-22 11:35:36 +01:00
btcpay-greenfield-for-woocommerce.php Add refund links to order details page. (#77) 2026-04-20 15:06:19 +02:00
changelog.txt Prepare for release. 2026-04-20 14:22:52 +02:00
composer.json Minor changes (#42) 2024-02-27 15:07:11 +01:00
docker-compose.yml Support for WooCommerce cart and checkout blocks (#32) 2023-12-14 22:41:49 +01:00
Dockerfile Support for WooCommerce cart and checkout blocks (#32) 2023-12-14 22:41:49 +01:00
license.txt Adding basic readme.txt, icons, banners and screenshots (taken from old plugin) for the new page on wp.org. 2021-12-16 14:35:42 +01:00
package-lock.json Bumping nodejs to v20 and updating dependencies. 2026-03-25 09:37:05 +01:00
package.json Bumping nodejs to v20 and updating dependencies. 2026-03-25 09:37:05 +01:00
phpunit.xml.dist Initial commit, basic structure and settings forms. 2021-10-06 14:02:27 +02:00
README.md Add package manager information for local development and custom builds. 2022-07-05 22:41:42 +02:00
readme.txt Add feature to changelog. 2026-04-20 15:09:31 +02:00
webpack.config.js Show warning on changing mapping of paid but unconfirmed order status. 2026-03-17 15:56:01 +01:00

BTCPay Greenfield Plugin for WooCommerce

For a detailed feature overview and description go to the official WordPress plugin page: https://wordpress.org/plugins/btcpay-greenfield-for-woocommerce/

This readme is mostly about plugin development on the main repo on GitHub.

Considerations

The basic structure is a mix of the plugin generator by WP cli tool (file structure, Grunt build runner, etc.) and Composer based setup with GitHub workflows to deploy the artifact to WordPress SVN. WP does not support composer yet so we need to still do fetch dependencies in the build process and adjust to their SVN based structure for committing the code to their plugin ecosystem. This is all handled by the Github workflow.

Todo new features

Check the repos issues here: https://github.com/btcpayserver/woocommerce-greenfield-plugin/issues

Development

git clone git@github.com:btcpayserver/woocommerce-greenfield-plugin.git

Install dependencies with Composer:

composer install

Contributing

Feel free to open an issue to discuss a feature or provide a PR for any improvements or if you want to tackle a feature listed in the issues.

Local development with Docker

Install dependencies

composer install

Run docker compose to spin containers up

docker-compose up -d

Go to http://localhost:8821 and install WordPress, WooCommerce and BTCPay for WooCommerce V2 Plugin.