Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>ppe SuiteNew to Visual Studio Code? Get it now.
ppe Suite

ppe Suite

ppe_extension

|
21 installs
| (1) | Free
Advanced integration docs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PPE Integration Extension

Version: 2.1.6
Publisher: PPe Developer Tools

Overview

The PPE extension streamlines the integration of PhonePe's payment services into your applications. Generate production-ready integration code instantly within Visual Studio Code for multiple programming languages and platforms.

Features

Instant Code Generation

Generate complete PPE integration code with a single command. All generated code includes OAuth 2.0 authentication, payment processing, status tracking, and error handling.

Multi-Language Support

  • Backend Languages: Java, Python, Node.js, PHP, .NET
  • Mobile Platforms: Android, iOS, Flutter, React Native, Ionic

Command Palette Integration

Four essential commands accessible via VS Code Command Palette:

  • API Integration - Insert integration code at cursor
  • SDK Documentation - Browse language-specific SDK documentation
  • Postman Collection - Access API testing tools
  • Developer Documentation - Open official PPe documentation

AI-Powered Assistant

Leverage GitHub Copilot integration for intelligent code generation with contextual commands through the @phonepe chat participant.

Installation

  1. Open Visual Studio Code
  2. Navigate to Extensions (Cmd+Shift+X on macOS, Ctrl+Shift+X on Windows/Linux)
  3. Search for "PPE Suite"
  4. Click Install

Usage

Command Palette

  1. Open a code file in your preferred language (.java, .py, .js, .php, or .cs)
  2. Position your cursor where you want to insert the integration code
  3. Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  4. Type: "PhonePe: API Integration"
  5. The code will be inserted automatically at your cursor position
  6. Replace the placeholder values in the generated code:
    • YOUR_CLIENT_ID - Your Client ID
    • YOUR_CLIENT_SECRET - Your Client Secret

AI Chat Integration

Use GitHub Copilot Chat with simplified commands:

@phonepe /generate sdk java production
@phonepe /generate api nodejs uat
@phonepe /docs

Available Commands:

  • /generate <sdk|api> <language> <environment> - Generate integration code
  • /docs - Open PhonePe Developer Documentation

Generated Code Features

Every code snippet includes:

  • Authentication: OAuth 2.0 token management
  • Payment Creation: Complete payment initiation flow
  • Status Checking: Real-time transaction monitoring
  • Refund Processing: Payment reversal handling
  • Error Handling: Comprehensive exception management
  • Environment Configuration: UAT and Production ready

Environment Configuration

UAT/Sandbox (Testing)

Base URL: https://api-preprod.phonepe.com/apis/pg-sandbox/

Use for development and testing purposes.

Production (Live)

Base URL: https://api.phonepe.com/apis/pg/

Use for live transaction processing.

Available Commands

Command Description
PhonePe: API Integration Insert integration code at cursor position
PhonePe: Get SDK Documentation Open SDK documentation by language
PhonePe: Open Postman Collection Access PhonePe API Postman collection
PhonePe: Open Documentation Open PhonePe Developer Portal

System Requirements

  • VS Code: Version 1.90.0 or higher
  • Optional: GitHub Copilot for AI-powered features

Support & Documentation

  • Developer Portal: https://developer.phonepe.com/
  • API Documentation: https://developer.phonepe.com/docs/
  • Postman Collection: https://www.postman.com/phonepe-pg-integrations-online

Troubleshooting

Code Not Inserting

Issue: Command executes but no code appears
Solution: Ensure you have opened a file with a supported extension (.java, .py, .js, .php, .cs)

Language Detection Issues

Issue: Wrong language code generated
Solution: Verify your file extension matches the intended programming language

Environment Configuration

Issue: Need to switch between UAT and Production
Solution: Manually update the base URL in the generated code

Release Notes

Version 3.0.2

  • Direct code insertion without credential prompts
  • Improved command execution performance
  • Enhanced error handling and validation
  • Updated API version to 1

License

MIT License

Copyright (c) 2025 PhonePe

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files, to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.

Contributing

We welcome contributions to improve this extension. Please submit issues and pull requests through our official repository.

Developed by PhonePe Developer Tools Team
Simplifying payment integration for developers worldwide

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft