Wontonee AI products are here — Blogibot & LayerShift now available. Check it out!

Bagisto · India

PhonePe Gateway

PhonePe payment gateway for Bagisto with OAuth 2.0 — UPI, cards, net banking, and wallets with sandbox and production modes for Indian stores.

IndiaBagisto 2.xwontonee/phonepe

UPI · Cards · Net banking · Wallets · OAuth 2.0 · Sandbox & live

Built for IndiaUPI, cards & walletsOAuth 2.0 authSandbox & productionAdmin configuration

PhonePe payments for Bagisto

Accept PhonePe checkout in your Bagisto Laravel store — secure OAuth tokens, automatic paisa conversion, payment verification, and admin controls for Client ID, Client Secret, environment, and checkout type.

IndiaCoverage
Bagisto 2.xCompatible
Composerwontonee/phonepe
AdminEasy setup
Features

Everything for PhonePe checkout

Multiple payment methods

UPI, cards, net banking, and wallets through PhonePe’s checkout experience.

OAuth 2.0 authentication

Secure token-based API auth with automatic expiry handling for sandbox and production.

Order & amount handling

Seamless Bagisto order integration with automatic rupee-to-paisa conversion.

Admin configuration

Configure Client ID, Client Secret, environment, checkout type, icons, and status from Bagisto admin.

PhonePe checkout on Bagisto with UPI, cards, and net banking on mobile and desktop
Checkout

Redirect customers to PhonePe securely

From place order to PhonePe payment page and back — OAuth token, payment creation, callback, and server-side verification keep the flow reliable.

  • Sandbox and production endpoints
  • Payment status verification
  • Clear pending, completed, and failed states
Bagisto admin PhonePe payment method configuration with Client ID, Client Secret, and environment settings
Admin

Configure once in Bagisto

Enable PhonePe under Configuration → Sales → Payment Methods. Set credentials, environment, and optional payment method icon.

  • Client ID and Client Secret from PhonePe Business
  • Standard or Express checkout type
  • Custom payment method icon upload
Laravel payment verification logs and PhonePe order status dashboard with pending, completed, and failed states
Reliability

Logging and session safety

Comprehensive logging, secure session handling for payment data, and order expiry controls help you debug and recover from edge cases.

  • Detailed Laravel logs for troubleshooting
  • Configurable order expiry window
  • Minimum order amount handling (₹1)
Installation

Get started in minutes

Install via Composer, publish assets, and configure PhonePe credentials in Bagisto admin.

01

Get PhonePe credentials

Copy Client ID and Client Secret from the PhonePe Business Developer Settings.

02

Install via Composer

Run composer require wontonee/phonepe in your Bagisto project.

03

Publish assets

Run php artisan vendor:publish --tag=phonepe-assets and clear caches.

04

Configure in admin

Enable PhonePe under Configuration → Sales → Payment Methods and save credentials.

05

Test checkout

Use Sandbox mode first, then switch to Production when you’re ready to go live.

composer require wontonee/phonepephp artisan vendor:publish --tag=phonepe-assets
Licensing

Wontonee license required

Obtain a trial or paid license from myapps.wontonee.com, then enter your license key alongside PhonePe API credentials in Bagisto admin.

  • License via myapps.wontonee.com
  • Updates and priority support included
  • Configure under Payment Methods in admin
Get license at myapps.wontonee.com

Frequently asked questions

Bagisto 2.x with PHP 8.1 or higher.
Yes. You need Client ID and Client Secret from the PhonePe Business Dashboard Developer Settings.
Yes. Set Environment to Sandbox, use sandbox credentials, and switch to Production when ready.
PhonePe expects amounts in paisa. The package converts rupees to paisa automatically (minimum ₹1).
From the official repository at github.com/wontonee/phonepe-bagisto. Unauthorized copies may be outdated or unsafe.

Ready to accept PhonePe payments?

Install from GitHub, configure in Bagisto admin, and start processing UPI, cards, and wallet payments.