UAT to Production Migration

🚧

UAT Sign-Off

After completing Integration, send a testing URL/App to PhonePe for the sanity check. Production credentials will be shared post UAT sign-off by PhonePe.

Replace below parameters before going LIVE to production.

ParameterSteps
MerchantIDUse the merchantID shared for Production
Host URLReplace the UAT host URL in the Server API calls with https://api.phonepe.com/apis/hermes
API keysReplace the UAT keys with the Production Keys for checksum/X-VERIFY header computation in all the API calls.
Update Maven URL and DependenciesRefer here Point 1 & 2

1. Update maven URL in build.gradle file from repositories - RELEASE tab.
2. Update dependencies in build.gradle file from dependencies - RELEASE tab.
Update AndroidManifest.xmlRefer here Point 3

1. Update the Debuggable flag to false in Production from AndroidManifest.xml - RELEASE tab
2. Update the isUAT flag to false in Production from AndroidManifest.xml - RELEASE tab
3. Update the App ID of Production from AndroidManifest.xml - RELEASE tab. If not received, generate the signature using the below code and send an email to "[email protected]".
PhonePe Production Package Namecom.phonepe.app

To get the App Id from PhonePe for Production

👍

Share us with the Android signature using the below code in your android application(Production).
String string_signature = PhonePe.getPackageSignature()