=== Dojo for WooCommerce ===

Contributors: dojopayments
Tags: dojo, payments, checkout, woocommerce, payment gateway
Requires at least: 5.0
Tested up to: 6.9
WC requires at least: 7.0
Stable tag: 2.1.0
Requires PHP: 7.4
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Extends WooCommerce, allowing you to take payments via Dojo.

== Upgrade Notice ==

= 2.1.0 =
This version adds support for Checkout Blocks. Upgrading will NOT break your existing classic checkout page; it simply enables block support for those who wish to switch.

== Description ==

The Dojo plugin for WooCommerce allows you to take payments via Dojo's secure Online Checkout. 

**Key Features:**
* **Checkout Blocks Support:** Fully compatible with WooCommerce block-based checkout.
* **Classic Support:**Backwards compatibility for the classic [woocommerce_checkout] shortcode.
* **Secure:** Uses Dojo’s secure payment form, reducing your PCI compliance burden.
* **HPOS Compatible:** Fully compatible with High-Performance Order Storage.

We are here if you have any questions. Please email devsupport@dojo.tech

== Installation ==

Instructional Video: https://www.youtube.com/watch?v=0kagHLoYx0w
Dojo Docs Site: https://docs.dojo.tech/plugins/woocommerce

1. Login to the admin area of your WordPress website.
2. Go to **Plugins** -> **Add New**.
3. Search for **Dojo**.
4. Click **Install Now** and then **Activate**.

**Step 1: How to generate your API key**
1. Log into the [Dojo developer portal](https://developer.dojo.tech/).
2. Select **API keys** in the sidebar and click **Create new key**.
3. Copy the key and paste it into the **Secret API key** field in the Dojo settings in WordPress (WooCommerce > Settings > Payments > Dojo).

**Step 2: How to generate your Webhook endpoint**
1. In the Dojo Developer portal, select **Webhooks** from the sidebar and click **Add endpoint**.
2. **Endpoint URL:** Enter your website’s URL followed by `/?wc-api=wc_dojo` (e.g., `https://yoursite.com/?wc-api=wc_dojo`).
3. Click **Select events** and check **Status update**. Click **Add events**.
4. Click **Add endpoint**.
5. On the webhooks page, click the **Secret value** to copy it.
6. Paste this value into the **Webhook secret** field in your WordPress Dojo settings and click **Save changes**.

== Changelog ==

= 2.1.0 =
* Feature - Added support for WooCommerce Checkout Blocks.

= 2.0.0 =
* Initial major release with Dojo Online Checkout integration.
* Enhancement - Declared full compatibility with High-Performance Order Storage (HPOS).


== Support ==

Questions? Contact us at [devsupport@dojo.tech](mailto:devsupport@dojo.tech)