WooCommerce integration
Selling design sets manually is not comfortable and đź™… not the way.
The workflow of where the user was waiting for the license to be delivered đźšš, even the payment and order was complete instantly, is not good for the user experience.
Hence, we at thelostasura develop the integration for WooCommerce. Your Asura plugin includes native integration for WooCommerce by default. Selling design sets is easy!
This documentation will walk you through how to configure the WooCommerce integration.
Configuring the WooCommerce integration
Make sure the WooCommerce plugin is installed and activate. Then navigate to the Asura menu on the sidebar of your WordPress admin dashboard

On the “Setting” page, under the WooCommerce tab, turn it on
the Enable Integration setting.
To print the generated license on the “purchase detail” page once the payment and order are completed, turn it on
the Print license table on the purchase detail page setting.
If you wish to include the generated license on the receipt email, turn it on
the Print license on the receipt email setting.

The setting under the Payment Status section manages the WooCommerce integration behavior when the payment status changed from completed to another status. Leave it blank if no action is required. E.g., when the payment was Abandoned, you can deactivate the license.
Then click the Save button, and go back to the WordPress admin dashboard by clicking the 🏠home icon.

Open the Product item post-editor, which you want the license generated automatically once the payment and order were completed. You will see the “Asura License” meta box on the right section.
Tick the Automatically generate license checkbox.
If your product is a subscription-based scheme, you can tick the Allow license renewal checkbox.
Remote [id]: if your design sets and the generator are hosted on a remote site, fill the field with the remote site’s id. Leave it blank if your design sets and the generator are hosted locally. Check the Asura: Adding remote site using Connector String (API credential) documentation.
Generator [id]: if your design sets and the generator are hosted on a remote site, fill the field with the generator’s id located on the remote site. If the design sets and the generator are hosted locally, fill it with the generator’s id located on your local site. Check the Asura: Creating Generator for License automation generation documentation on how to create a generator.
then click the Save button.

🎉 Congratulation, you have configured the WooCommerce successfully.

Simulate and test the integration’s configuration
Open the Product item page in the new tab, click the Add to card button.

Click the View cart button

Click the Proceed to checkout button.

Fill in the customer detail form, and click the Place order button

- Awesome, the license was generated successfully. If you turn on the Print license table on the purchase detail page setting described in step 3, you will see the detailed license printed on the Purchase Detail page. In case you didn’t turn it on, you can check them on the “Licenses” page on the Asura dashboard, where the generator is located, as described in step 4.

Learn by watching a brand new screencast on YouTube!