- PHP 7.1+
- Composer
- WooCommerce 3.7+ Requirements
- Clone or download the source from this repository.
- Comment/disable adapters in
src/classes/includes/payment-gateway-cloud-provider.php
- seepaymentMethods()
method. - Run the build script to apply desired branding and create a zip file ready for distribution:
php build.php gateway.mypaymentprovider.com "My Payment Provider"
- Verify the contents of
build
to make sure they meet desired results. - Find the newly versioned zip file in the
dist
folder. - Test by installing the extension in an existing shop installation (see src/readme.txt).
- Distribute the versioned zip file.
We supply ready to use Docker environments for development & testing. Please take a look at the supplied docker directory for instructions.
- Fetch the updated source from this repository (see CHANGELOG).
Note: make sure to not overwrite any previous changes you've made for the previous version, or re-apply these changes. - Run the build script with the same parameters as the first time:
php build.php gateway.mypaymentprovider.com "My Payment Provider"
- Find the newly versioned zip file in the
dist
folder. - Test by updating the extension in an existing shop installation (see src/readme.txt).
- Distribute the newly versioned zip file.