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 appId Update the App ID of Production. If not received, generate the signature using the PhonePe SDK method and send an email to the PhonePe Integration team.
Update environment Initialize the PhonePe SDK with the environment as PhonePeEnvironment.PRODUCTION
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()