Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting APP_NOT_INSTALLED error even though the PhonePe app is installed on the device. #1

Open
KumarSantanu opened this issue Jan 31, 2025 · 0 comments

Comments

@KumarSantanu
Copy link

KumarSantanu commented Jan 31, 2025

I cloned the official PhonePe PG Android Demo from the official GitHub repository. I entered my production MID and key, but I am still getting the APP_NOT_INSTALLED error. This happens regardless of whether I use PhonePeEnvironment.RELEASE or PhonePeEnvironment.SANDBOX

Logs:

2025-01-31 21:32:41.637 10217-10217 PhonePeUserAccount_PPE com.example.phonepeoptions I getUserInstruments called 2025-01-31 21:32:41.642 10217-10217 PhonePeUserAccount_PPE com.example.phonepeoptions I pre-checks failed with APP_NOT_INSTALLED 2025-01-31 21:32:41.642 10217-10217 PhonePeUserAccount_PPE com.example.phonepeoptions

Steps to Reproduce:

  1. Clone the official [PhonePe PG Android Demo repo](https://github.com/PhonePe/phonepe-pg-android-demo.git).
    
  2. Enter production MID and key in the demo app.
    
  3. Call the PhonePe payment API using PhonePeEnvironment.RELEASE and PhonePeEnvironment.SANDBOX.
    
  4. Observe the APP_NOT_INSTALLED error.
    

Expected Behavior:

The transaction should proceed without the APP_NOT_INSTALLED error, as the PhonePe app is installed on the device.

Environment:

  • PhonePe SDK version: 5.0.1
    
  • PhonePe app version: 25.01.10.0
    
  • Device: Oneplus Nord CE2(Tested on physical device)
    
  • PhonePe Environment: PhonePeEnvironment.RELEASE and PhonePeEnvironment.SANDBOX
    

I have tested the app on multiple devices and ensured the PhonePe app is installed. I also tried both the sandbox and production environments, but the issue persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant