1. Install Payg plugin from wordpress plugin section 🔗
Download the Easy Digital Downloads Plugin SDK zip.
Click on Plugins-Add New Plugin
Upload downloaded zip file from the wordpress upload zip section

Upload downloaded zip file from the wordpress upload zip section

Activate the plugin using activate plugin button

2. Configure Installed Payg Plugin 🔗
Enable Production PayG payment from payment setting

Configure plugin with the following Production account detail that you will get from the PayG Click here
Configure the form using PayG Details.
Mode : Select Live Mode.
MID : Your merchant MID got from PayG.
AuthenticationKey: Your AuthenticationKey got from PayG.
AuthenticationToken: Your AuthenticationToken got from PayG.
PayG Processing URL(PayG Base URL): 'https://apiv2.payg.in/payment/api/order'
Click on Save button.

To configure Webhook URL : Add Below URL by logging in Your PayG Dashboard
Go to Setting -> Webhook Url -> Click on Edit.
Order PostBack Url: 'https://yourdomain/wp-json/v2/edd-payg-webhook'

3. Display on Checkout 🔗
After Succesful configuration using above steps, PayG Payments can be used on checkout pages.

Redirected to PayG Payment Page. Choose the Payment Methods and make the payment.
