This project is not covered by Drupal’s security advisory policy.

Enables Drupal Commerce orders to be paid using PhonePe payment methods.

PhonePe is a popular digital wallet and online payment application that supports instant money transfers and payments through UPI, cards, and wallet services.

This module provides a Drupal Commerce PhonePe integration and includes a client library to initiate and process payments using the PhonePe Payment API.

Configuration:

  1. Add the PhonePe Payment gateway from:
    admin/commerce/config/payment-gateways/add
  2. Enter the machine name of the profile type to be used for API-related customer details in the Profile textbox.
    (Default profile type: customer)
  3. The selected profile type must include an Address field/entity.
  4. Add a phone/mobile field to the selected profile type with the machine name: field_mobile

Important: Ensure that the mobile number field is added to the selected profile type.

You can add fields here:
/admin/config/people/profile-types/manage/customer/fields

For UAT testing and setup guidance, refer to:
https://developer.phonepe.com/v1/docs/uat-testing

Note: PhonePe SDK v2 is implemented in the 5.x branch.

Project information

Releases