Easy Digital Downloads 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 Easy Digital Downloads. Your Asura plugin includes native integration for Easy Digital Downloads by default. Selling design sets is easy!
This documentation will walk you through how to configure the Easy Digital Downloads integration.
Configuring the Easy Digital Downloads integration
Make sure the Easy Digital Downloads 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 Easy Digital Downloads 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 Easy Digital Downloads 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 Download 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 Easy Digital Downloads integration successfully.
Simulate and test the integration’s configuration
Open the Download item page in the new tab, click the Purchase button.
Click the Checkout button
Fill in the customer detail form, then click the Free Download button. (The button name may differ if your Download item price is not free)
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 above the Products header. 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!