ReturnHQ and PhonePe integration
Yes. ReturnHQ connects to PhonePe, the payment gateway, for Indian D2C stores on Shopify. ReturnHQ collects the return or exchange fee, and any exchange price difference, on PhonePe's own checkout page when PhonePe is the chosen fee collector.
Does ReturnHQ work with PhonePe?
Yes. ReturnHQ connects to PhonePe, the payment gateway, for Indian D2C stores on Shopify. ReturnHQ collects the return or exchange fee, and any exchange price difference, on PhonePe's own checkout page when PhonePe is the chosen fee collector. It sends the customer back to their return status page after paying. It confirms each payment by asking PhonePe's Order Status API, when the customer returns, from the webhook, and every half hour.
What ReturnHQ does with PhonePe
- Collects the return or exchange fee, and any exchange price difference, on PhonePe's own checkout page when PhonePe is the chosen fee collector.
- Sends the customer back to their return status page after paying.
- Confirms each payment by asking PhonePe's Order Status API, when the customer returns, from the webhook, and every half hour.
PhonePe integration at a glance
| Category | Payments and refunds |
|---|---|
| What it is | payment gateway |
| What you connect with | Client ID, Client Version and Client Secret (PhonePe Business Dashboard, Developer Settings, API Keys); optional webhook username and password |
| PhonePe website | phonepe.com |
How to connect PhonePe to ReturnHQ
- In ReturnHQ, open Settings, Integrations, PhonePe.
- Paste the Client ID, Client Version (usually 1) and Client Secret from PhonePe Business Dashboard, Developer Settings, API Keys, and click Test connection.
- Recommended: in the PhonePe dashboard open Developer Settings, Webhook, Create Webhook, choose SHA (username and password), paste the webhook URL from the card, and tick checkout.order.completed and checkout.order.failed.
- Enter the same webhook username and password in ReturnHQ and save.
- Open Settings, Fees, and choose PhonePe under "Collect customer fees through". The same choice applies to returns and exchanges.
Good to know
- Collects fees only. PhonePe has no payout API, so COD refunds need Cashfree, Easebuzz Wire or RazorpayX.
- The webhook must use SHA (username and password) authentication; HMAC is not supported.
- Test mode works only with PhonePe sandbox keys.
Questions about ReturnHQ and PhonePe
Does ReturnHQ work with PhonePe?
Yes. ReturnHQ connects to PhonePe, the payment gateway, for Indian D2C stores on Shopify. ReturnHQ collects the return or exchange fee, and any exchange price difference, on PhonePe's own checkout page when PhonePe is the chosen fee collector. It sends the customer back to their return status page after paying. It confirms each payment by asking PhonePe's Order Status API, when the customer returns, from the webhook, and every half hour.
What do I need to connect PhonePe to ReturnHQ?
Client ID, Client Version and Client Secret (PhonePe Business Dashboard, Developer Settings, API Keys); optional webhook username and password. You add them in ReturnHQ under Settings, Integrations, PhonePe, and ReturnHQ uses your own PhonePe account, so your existing rates and terms stay as they are.
What should I know before using PhonePe with ReturnHQ?
Collects fees only. PhonePe has no payout API, so COD refunds need Cashfree, Easebuzz Wire or RazorpayX. The webhook must use SHA (username and password) authentication; HMAC is not supported. Test mode works only with PhonePe sandbox keys.
Other payment and refund integrations
All ReturnHQ integrations · Install ReturnHQ from the Shopify App Store