Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/novac-finance/novac-woocommerce-plugin-retired/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Novac for WooCommerce
Requirements
- Node v20+
- pnpm
- WPCLI
- Webpack
Account Setup
- Setup for Account by entering your API key and Checkout preferences.
Build Process for Developers
Our plugin uses modern build tools, including Webpack and UglifyJS, to generate production-ready JavaScript and CSS. The following scripts define our build process:
{
"prebuild": "pnpm install && composer install",
"build": "pnpm run preuglify && pnpm run uglify && composer run makepot && pnpm run build:webpack && pnpm run plugin-zip",
"build:webpack": "wp-scripts build",
"start": "pnpm run start:webpack",
"start:webpack": "rimraf build/* && wp-scripts start",
"preuglify": "rm -f $pnpm_package_config_assets_js_min",
"uglify": "for f in $pnpm_package_config_assets_js_js; do file=${f%.js}; node_modules/.bin/uglifyjs $f -c -m > $file.min.js; done"
}
Developers can reproduce the build by following these steps:
Steps to Reproducing the build process Plugin zip.
- git clone https://github.com/novac/novac-woo.git budpay
- ./bin/setup.sh
- pnpm install
- pnpm build
- Download
novac-woo.zip
Links to unminified
- assets/js/checkout.js
- assets/blocks/index.js
- assets/admin/settings/index.js
- assets/editor/index.js