-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9a9ab4
commit 26f9750
Showing
3 changed files
with
56 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,34 @@ | ||
# Experience Days Gateway | ||
|
||
A simple WooCommerce payment gateway for handling Experience Days Vouchers. | ||
A WooCommerce payment gateway that allows customers to checkout using Experience Days Vouchers. | ||
|
||
- Allows customers to checkout with a voucher code. | ||
- Creates orders with "on-hold" status for admin approval. | ||
- Stores voucher details in order metadata and customer notes. | ||
- Works with Classic Checkout and supports Gutenberg Blocks. | ||
- **Voucher Checkout**: Customers can enter their Experience Days Voucher code during checkout. | ||
- **Order Management**: Orders are created with "on-hold" status for admin approval and voucher verification. | ||
- **Voucher Storage**: Stores voucher details in order metadata and customer notes. | ||
- **Compatibility**: Works with Classic Checkout and Gutenberg Blocks. | ||
|
||
## Usage | ||
|
||
1. Install the plugin and configure it in `WooCommerce > Settings > Payments`. | ||
2. Customers select Experience Days Gateway during checkout. | ||
3. Orders are created with "on-hold" status for admin review and approval. | ||
Download the latest release [experience-days-gateway.zip](https://github.com/andriussok/experience-days-gateway/releases) | ||
1. Install the plugin via the WordPress admin panel. | ||
2. Configure it in `WooCommerce > Settings > Payments`. | ||
3. Customers select Experience Days Gateway during checkout and enter their voucher code. | ||
4. Orders are created with "on-hold" status for admin review. | ||
|
||
## Dependencies | ||
|
||
- [WooCommerce](https://en-gb.wordpress.org/plugins/woocommerce/) | ||
|
||
## Development | ||
|
||
You can modify php files directly in the plugin. | ||
|
||
To make changes for Gutenberg Blocks: | ||
1. Clone the repository | ||
2. `npm install` - install dependencies | ||
3. `npm run start` - for development | ||
4. `npm run build` for production | ||
5. `npm run zip` for distribution | ||
|
||
## References | ||
|
||
- [@wordpress/scripts](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-scripts/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters