Payment Gateway for PhonePe and for Woocommerce

Plugin Banner

Payment Gateway for PhonePe and for Woocommerce

by Easy Payment

Download
Description

πŸš€ Payment Gateway for PhonePe and for Woocommerce allows you to accept payments through PhonePe UPI, Wallet, Cards, and Net Banking, providing customers with a quick and secure checkout experience. Developed by an Official PhonePe Partner, this plugin ensures high performance and reliability.

Key Features:

  • Multiple Payment Options: Accept payments via UPI, Wallet, Cards, and Net Banking.
  • Seamless Checkout: Smooth, mobile-optimized checkout experience.
  • Secure Transactions: PCI DSS compliance with end-to-end encryption.
  • Real-Time Order Updates: Instant order status synchronization.
  • Fast Integration: Easy setup without coding skills.
  • PhonePe Sign-up: Highlighted PhonePe sign-up option for new customers.

Why Choose PhonePe?

  • Increase Conversions: Fast UPI payments reduce cart abandonment rates.
  • Trusted & Secure: One of India’s most trusted payment methods.
  • Quick Settlements: Receive payments faster with low transaction fees.
  • Wide Reach: Accept payments from millions of PhonePe users.
  • Exclusive Benefits for PhonePe Merchants: Enjoy special offers for PhonePe business account holders.

PhonePe is supported for transactions within India and in INR currency only.

External Services

This plugin connects to the official PhonePe payment gateway APIs to process payments, verify transaction statuses, and manage refunds for WooCommerce orders.

It sends the following data to PhonePe:
– Order ID, order amount, WooCommerce customer ID, order key and the return URL when the customer proceeds with checkout
– Order ID when verifying a payment status
– Refund details (refund ID, order ID and amount) when a refund is issued
– The store webhook URL and generated webhook credentials when the webhook is configured

The plugin communicates with the following API endpoints:
– https://api.phonepe.com/apis/identity-manager/v1/oauth/token (authentication)
– https://api.phonepe.com/apis/pg/checkout/v2/pay
– https://api.phonepe.com/apis/pg/checkout/v2/order/{merchantOrderId}/status
– https://api.phonepe.com/apis/pg/checkout/v2/refund
– https://api.phonepe.com/apis/pg/payments/v2/refund/{merchantRefundId}/status
– https://api.phonepe.com/apis/omx-service/v1/webhooks/configure (webhook configuration)
– https://api-preprod.phonepe.com/apis/pg-sandbox (Sandbox/testing environment)

PhonePe also sends payment and refund webhooks to your store at ?wc-api=pgppw_webhook. These are only accepted when they are signed with the webhook credentials (SHA username/password or HMAC checksum secret key) configured in both the PhonePe dashboard and the plugin settings.

All data transfers are securely handled over HTTPS. The plugin does not store or retain any personal user data.

The “Sign Up with PhonePe” button in the plugin settings opens https://easypaymentplugins.com/phonepe-signup, which redirects to the PhonePe merchant registration page with our referral code. Nothing is sent unless you click the button.

External Service Provider: PhonePe
– Website: https://www.phonepe.com
– Merchant Registration: https://easypaymentplugins.com/phonepe-signup
– Terms of Service: https://www.phonepe.com/termsandconditions.html
– Privacy Policy: https://www.phonepe.com/privacy-policy.html

  1. Setting Page.

    Setting Page.

  2. Checkout Page.

    Checkout Page.

  3. Payment Page.

    Payment Page.

1. Do I need a PhonePe business account?

Yes, you must have a PhonePe Merchant Account to use this plugin. Additionally, new users can sign up directly through the plugin.

2. Is this plugin compatible with my WooCommerce version?

Yes, it is compatible with the latest version of WooCommerce.

3. Is the payment secure?

Absolutely. The plugin uses end-to-end encryption and is PCI DSS compliant.

4. Does the plugin support refunds?

Yes. Use the Refund button on the WooCommerce order screen; the refund is sent to PhonePe and its status is added to the order notes.

5. Do I need to set up a webhook?

No. The webhook is created automatically when your PhonePe API credentials are saved. If automatic setup is not possible, an admin notice explains how to create it in the PhonePe Business Dashboard and enter its credentials in the plugin settings.

Great Plugin

By vbk230988 on July 9, 2025

Lightweight, straightforward, and efficient. The payment functionality works flawlessly.

1.0.13

  • Security – Webhooks are now verified as described by PhonePe (SHA username/password or HMAC checksum), and are rejected when the webhook credentials are not set.
  • Security – Payment status is always verified with PhonePe before an order is marked as paid, and the paid amount must match the order total.
  • Added – Webhook is configured automatically, with optional manual SHA or HMAC webhook settings.
  • Fixed – PhonePe payments are only accepted for orders in INR.
  • Fixed – Cancelled or refunded orders are no longer changed by a late payment status update.
  • Improved – Refund errors now show the reason returned by PhonePe.
  • Added – Compatibility with WordPress 7.1 and WooCommerce 11.2.1

1.0.12

  • Added – Compatibility with WordPress 7.1.2

1.0.11

  • Added – Compatibility with WordPress 6.9.1

1.0.10

  • Enhanced – Improved gateway settings panel text.

1.0.9

  • Added – Compatibility with WordPress 6.9.

1.0.8

  • Improved – Admin setting.

1.0.7

  • Improved – Enhanced logic for better error handling and clearer user messages.

1.0.6

  • Improved – setting panel UI.

1.0.5

  • Added – Hide Redirect Icon option for PhonePe checkout (honored in Blocks/classic templates).

1.0.4

  • Improved – Enhanced order note formatting when using webhook response.
  • Improved – Added redirect icon and text for clearer visual indication.

1.0.3

  • Improved – Unified PhonePe currency restriction message layout for both Classic and Checkout Block.
  • Added – Admin-only guidance for enabling PhonePe on non-INR stores.
  • Enhanced – Consistent CSS styling across frontend and block-based checkout.

1.0.2

  • Improved – Minor UI enhancements for better admin experience.

1.0.1

  • Fixed – Resolved issue related to webhook handling.

1.0.0 – Initial Release

  • First release of Payment Gateway for PhonePe and for Woocommerce.
  • Supports payments via UPI, Wallet, Cards, and Net Banking.
  • Instant payment status updates with secure processing.
  • Highlighted PhonePe sign-up option for new customers.