Magento 2 Billdesk Payment integrates BillDesk payment gateway with Magento 2 store to capture online secure payments from the customers of India.
Table of Content
- Extension Installation
- Configuration
- Billdesk Payment Method in Frontend
- Billdesk Payment Details in Backend
- For Magento Marketplace Customers
- Login to your SSH and run:
- composer require meetanshi/magento2-billdesk-payment
- Enter your authentication keys. Your public key is your username; your private key is your password.
- Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors.
- To verify that the extension is installed properly, run the command:
- php bin/magento module:status Meetanshi_Billdesk
- By default, the extension is probably disabled. Enable the extension and clear static view files:
- php bin/magento module:enable Meetanshi_Billdesk --clear-static-content
- php bin/magento setup:upgrade
- For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
- For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
- php bin/magento cache:flush
- Login to your SSH and run:
- For Meetanshi Customers
- Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
- Login to your SSH and run below commands step by step:
- php bin/magento setup:upgrade
- For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
- For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
- php bin/magento cache:flush
To configure the extension, login to Magento 2, move to Sales > Payment Methods > Billdesk Payment - Meetanshi where you can find various settings to enable the extension.
· Enabled: Set “YES” to enable the Billdesk Payment method.
· Title: Set the title for the payment method to be displayed in the frontend.
· Show Billdesk Logo: Set YES to show Billdesk logo along with the payment method in the frontend.
· Merchant ID: Enter the merchant ID provided by Billdesk payment gateway while registration.
· Security ID: Enter the security ID provided by Billdesk payment gateway while registration.
· Checksum Key: Enter the checksum key provided by Billdesk payment gateway while registration.
· Allow Auto Invoice: Select YES to automate invoice generation for the orders paid using Billdesk Payment method.
· Gateway URL: Enter the gateway URL https://pgi.billdesk.com/pgidsk/PGIMerchantPayment
· Payment from Applicable Countries: Select countries to allow using this payment method.
· Additional Information: Add additional information to show along with the payment method on the checkout page.
· Sort Order: Enter Sort Order of the payment method display in the frontend.
2. Billdesk Payment Method in Frontend
Once the payment method is configured, the Billdesk Payment method is shown on the frontend while checking out the products. Just select the payment method, click “Place Order” to get redirected to the payment page and complete the payment.
· Redirection to the Gateway
Once the customer gets redirected to the Billdesk Payment gateway page, he selects the payment method, adds payment details and clicks “Make Payment” to finish the payment.
· Billdesk Payment Details in “My Account” section
Once the order is placed, the Billdesk Payment details are shown in the Account dashboard, in the “My Orders” tab which transaction ID and bank reference ID.
3. Billdesk Payment Details in Backend
Apart from the customers, admin can also see the payment details for the orders in the backend. Go to Sales à Orders and you can see Billdesk Payment details under a particular order.