- Install a local copy of Wordpress with WooCommerce
- Create a new folder called
pay-via-barion-for-woocommerce
underwp-content\plugins
- Clone and install submodules to that folder
cd pay-via-barion-for-woocommerce
git clone git@github.com:szelpe/woocommerce-barion.git .
git submodule init
git submodule update
Note that Barion callback won't work in your local environment, so you'll need to call /wc-api/WC_Gateway_Barion/?paymentId=<paymentId>
manually.
POT file can be generated using Grunt.
npm install grunt grunt-wp-i18n
grunt