OpenCart Plugin

2.1 Configuration of PhonePe PG Plugin in Opencart

2.1 Configuration of PhonePe PG Plugin in Opencart

The steps to configure the PhonePe PG Plugin on the Opencart Checkout Page of the merchant’s website.

Step 1: Download Opencart Plugin

Step 2: Login Opencart

Step 3: Navigate to the Plugin Installer

Step 4: Upload the PhonePe OpenCart Plugin

Step 5: Verifying PhonePe under Payments

Step 6: Installing PhonePe under OpenCart Plugin

Step 7: Setup the Environment with Credentials

Step 8: Verifying PhonePe Payment option on the Checkout page

Step 9: Initiating a Payment using PhonePe

Step 10: Checking the Payment Status

Step 1: Download Opencart Plugin

Download OpenCart Plugin

Download the OpenCart plugin from the market place:
https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=44054&filter_search=phonepe

Step 2: Login Opencart

Login to the OpenCart site with admin credentials.

Step 3: Navigate to the Plugin Installer

In the left pane, you can find “Extensions”. On clicking it, you will see the dropdown
submenus of it like “Installer”, Modifications, etc.

Step 4: Upload the PhonePe OpenCart Plugin

On clicking “Installer” under “Extensions”, the new page will appear as follows. Now, click
the upload button and choose the PhonePe.ocmode.zip file.

Step 5: Verifying PhonePe under Payments

Now, click the “Modification” menu in the left pane under the main menu “Extensions” and
you will see the following page. Choose “Payments” as an extension type and you will see the list of
payment options.

Step 6: Installing PhonePe under OpenCart Plugin

As this page appears after choosing the extension type, scroll down to find the “PhonePe”
option. There, you will see two buttons “Edit” and “Install”. Click on the “Install” button to install this
plugin

Step 7: Setup the Environment with Credentials

After installation, click on the ”Edit” button and the following configuration page will appear.
Fill out the following form and enable the plugin and then save this configuration. As this gets enabled,
you can see the “PhonePe” Payment option on the checkout page.

The above details will be saved and protected at the webserver of Opencart so Merchant does
not need to worry about the production credentials.

Step 8: Verifying PhonePe Payment option on the Checkout page

On the Checkout page, after selecting the “PhonePe” option for payment, the customer can click on the “Confirm order” button.

Step 9: Initiating a Payment using PhonePe

If you click “confirm order”, then you can see a window pop-up where you can choose the
desired option to complete the transaction.

Step 10: Checking the Payment Status

In the back end, we will call the Check Status API in order to know whether the payment
was successful. If the payment is successful, you will be redirected to the success page.