PhonePe for Slide Checkout
Connect your PhonePe account to Slide Checkout: keys, webhook, events and what to enable.
Connect your own PhonePe account to Slide Checkout. Shoppers pay on Slide's checkout page, the money goes straight to your PhonePe account, and every paid order is created in Shopify for you.
- A PhonePe account that can take payments.
- Slide Checkout switched on for your store, and a Shopify store connected to Slide.
- Admin access in Slide. Only admins can connect or disconnect a gateway.
- 1Open the PhonePe Business dashboard, Developer Settings and copy the Client Id, Client Secret and Client Version.
- 2In Slide, open Integrations and choose the gateway card.
- 3Paste the Client Id, Client Secret and Client Version. PhonePe has a sandbox and a production account. Use the switch on the card to say which keys you pasted.
- 4Select Connect. Slide checks the keys with one harmless request and shows an error in plain words if they are wrong.
- 5Copy the webhook address from the card. PhonePe Business dashboard, Developer Settings, Webhook, Create Webhook (turn Test Mode on for sandbox). Choose SHA authentication, then paste the address, the username and the password shown on the card.
- 6Tick the events listed below, then save.
- 7Make one small test payment. The webhook status on the card turns to Receiving.
PhonePe has a sandbox and a production account. Use the switch on the card to say which keys you pasted.
Test and live are different accounts with different keys and different webhooks. Switching a store to live means pasting the live keys and adding the webhook again in the live dashboard.
| Event | Why Slide needs it |
|---|---|
| checkout.order.completed | Creates the order the moment a payment succeeds, even if the shopper closed the page. |
| checkout.order.failed | Shows failed payments and why in Checkout. |
| pg.refund.completed | Keeps Shopify in step when a refund is made or completes in PhonePe. |
| pg.refund.failed | Shows a refund that did not go through. |
The webhook line on the card has three states. Waiting means no event has arrived yet. Receiving means events are arriving and Slide accepted them. Failing means events arrived but were rejected, which almost always means a wrong or missing secret, or a different mode (test against live).
| Payment method | What to do |
|---|---|
| UPI, card, netbanking | PhonePe shows its own pay page inside the checkout window and decides which methods appear. Ask PhonePe which methods are active on your account. |
| Wallets, EMI, Pay Later | Not offered for PhonePe in Slide Checkout, because PhonePe does not document them for this page. |
PhonePe does not let Slide pick a single method for the shopper, so every PhonePe payment opens PhonePe's own pay page in the window.
Refund from Slide Checkout or from the PhonePe dashboard: Slide records it on the Shopify order either way. If a shopper pays twice for one checkout, or pays after the order was already placed, Slide refunds the extra payment to the shopper through PhonePe and shows it in Checkout. Refunds in Slide Checkout go back through PhonePe to the original payment method.