Mobile Browsers/App Integration
What is the use of shouldShow(), isUPIRegistered() or isUPIAccountRegistered()? What is the difference between the three methods?
shouldShow() method is implemented in the Android Intent SDK version 0.1.5. Here is the following:
- If UPI is unlinked or sim verification is not done shouldShow method returns false.
- If UPI is linked and the user is logged in then shouldShow method returns true.
- If UPI is linked and the user is logged out then shouldShow method returns false.
- If UPI is unlinked and the user is logged in shouldShow method returns false.
- If the PhonePe app is not present then shouldShow method returns false.
isUPIRegistered() method is implemented in Android SDKLess Intent flow. Here is the following:
- If UPI is unlinked or sim verification is not done isUpiRegistered method returns false.
- If UPI is linked and the user is logged in or logged out isUpiRegistered method returns true. In this case, if the user is logged out, then the user is redirected to the PhonePe app login page where the user can log in and complete the payment.
- If UPI is unlinked and the user is logged in isUpiRegistered method returns false.
- If the PhonePe app is not present then isUpiRegistered method returns false.
isUPIAccountRegistered() method is implemented in Android Intent SDK version 0.1.5.3 and above.
- If UPI is unlinked or sim verification is not done isUPIAccountRegistered method returns false.
- If UPI is linked and the user is logged in or logged out isUPIAccountRegistered method returns true. In this case, if the user is logged out, then the user is redirected to the PhonePe app login page where the user can login and complete the payment.
- If UPI is unlinked and the user is logged in isUPIAccountRegistered method returns false.
- If the PhonePe app is not present then isUPIAccountRegistered method returns false.
What to do when the QCLite bottom screen is not displayed?
In case you find this issue please contact [email protected]
In Android SDKLess Intent flow, Why do I get a redirection URL instead of an Intent URL in /v4/debit?
In case of redirection URL in the response of the /v4/debit API you need to pass PhonePeVersionCode parameter in the request payload of the /v4/debit API. If still not working then please contact [email protected]
Whether Intent URL is supported by both /v3 or /v4 debit API?
No, the Intent URL is supported only by /v4 debit API.
What to do if you get “Network Error” for Debit API in iOS?
For iOS SDK, the apiEndpoint should be /v3/debit instead of /v4/debit. Currently, /v4/debit is not supported by the SDK
What to do if you get “Internal Server Error” for Debit API in Production for iOS?
For iOS SDK, depending on the platform whether PreProd or Prod, the SDK should be replaced in your project accordingly to hit the API of desired environment.
What to do if you get “Network Error” for Debit API in iOS?
For iOS SDK, the apiEndpoint should be /v3/debit instead of /v4/debit. Currently, /v4/debit is not supported by the SDK.
What to do if you get “Internal Server Error” for Debit API in Production for iOS?
For iOS SDK, depending on the platform whether PreProd or Prod, the SDK should be replaced in your project accordingly to hit the API’s of desired environment
What is the use of canMakePayment() in mSite Intent flow ?
CanmakePayment() is used to check that phonepe/pay method is supported by the browser.
WHAT should be the maximum time period till that time we should query the transaction?
We can call the Status API until the terminal state response is received which is success/failure.
What is the use of .Show() in mSite Intent flow ?
Show() is used to to begin the process of showing and handling the user interface for the payment request to the user.
I am getting the error as “Archive upload failed due to Unsupported Architectures”. What can be the issue?
The problem is that the Ligero framework contains builds for both simulators (x86_64) and actual devices (ARM). You aren't allowed to submit to the App Store a binary for an unsupported architecture, so the solution is to remove the unneeded architectures from the binary and then try uploading it to Test Flight. Also, you can give a Hard Clean (Shift-Alt-Cmd-K) to delete all the architectures it has already built & try uploading
Why is location permission required for iOS?
PhonePe needs the location permission for fraud detection/Security purpose and also we use it to push location-specific offers in future
Updated almost 3 years ago