{"id":271,"date":"2025-03-20T08:33:08","date_gmt":"2025-03-20T08:33:08","guid":{"rendered":"https:\/\/documentation.iqonic.design\/handyman\/?p=271"},"modified":"2025-06-03T11:43:27","modified_gmt":"2025-06-03T11:43:27","slug":"phonepe-integration-guide","status":"publish","type":"post","link":"https:\/\/documentation.iqonic.design\/handyman\/phonepe-integration-guide\/","title":{"rendered":"PhonePe Integration Guide"},"content":{"rendered":"<div class=\"nolwrap\">\n<pre class=\"wp-block-preformatted\">Estimated reading: 1 minutes<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What does PhonePe appId refer in PhonePe payment gateway settings?<a href=\"https:\/\/apps.iqonic.design\/documentation\/handyman-service-doc\/build\/docs\/user-guide\/phone-pe-integration-guide#what-does-phonepe-appid-refer-in-phonepe-payment-gateway-settings\" target=\"_blank\" rel=\"noopener\">\u200b<\/a><\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>appId<\/code>&nbsp;is provided by the PhonePe team. To obtain it, you need to create a package signature from your app and provide the package signature to the PhonePe team.<\/li>\n<\/ul>\n\n\n\n<p><strong>Obtain App Id<\/strong><\/p>\n\n\n\n<p>1. Call the following method in the&nbsp;<code>init()<\/code>&nbsp;method of your project to print packageSignature in release mode with JKS to get the App ID from PhonePe:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> \/\/*This Method is Needed to print packageSignature in release mode with jks to get Appid from Phone pe<br> void getPackageSignatureForAndroid() {<br>   if (Platform.isAndroid) {<br>     PhonePePaymentSdk.getPackageSignatureForAndroid().then((packageSignature) {<br>       print('PhonePeSdk packageSignature $packageSignature');<br>     }).catchError((error) {<br>       return error;<br>     });<br>   }<br> }<\/pre>\n\n\n\n<p>2. Share this PhonePeSdk packageSignature with PhonePe Integration team via Email.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to enable PhonePe as a payment gateway?<\/strong><\/h2>\n\n\n\n<p>To enable PhonePe payment gateway:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to&nbsp;<strong>Settings \u2192 Payment Configuration<\/strong>.<\/li>\n\n\n\n<li>Click on&nbsp;<strong>PhonePe<\/strong>&nbsp;tab.<\/li>\n\n\n\n<li>Enable the switch for&nbsp;<strong>PhonePe<\/strong>&nbsp;Payment.<\/li>\n\n\n\n<li>Add Gateway Name&nbsp;<strong>PhonePe<\/strong>.<\/li>\n\n\n\n<li>Paste values\n<ul class=\"wp-block-list\">\n<li><strong>Merchant Id<\/strong>&nbsp;under the&nbsp;<em>Merchant Id<\/em>&nbsp;field.<\/li>\n\n\n\n<li><strong>App Id<\/strong>&nbsp;under the&nbsp;<em>App Id<\/em>&nbsp;field.<\/li>\n\n\n\n<li><strong>Salt Key<\/strong>&nbsp;under the&nbsp;<em>Salt Key<\/em>&nbsp;field.<\/li>\n\n\n\n<li><strong>Salt Index<\/strong>&nbsp;under the&nbsp;<em>Salt Index<\/em>&nbsp;field.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"771\" src=\"https:\/\/documentation.iqonic.design\/handyman\/wp-content\/uploads\/sites\/9\/2025\/03\/PhonePe_Integration_Guide.jpg\" alt=\"\" class=\"wp-image-902\" \/><\/figure>\n\n\n\n<p><strong>Obtain Package Signature (PhonePe)<\/strong><\/p>\n\n\n\n<p>Follow the below steps:<\/p>\n\n\n\n<p>1.Navigate to the following path: path: handyman_user_flutter\/lib\/screens\/auth\/sign_in_screen.dart<\/p>\n\n\n\n<p>2. Add the following code in the&nbsp;<code>initState()<\/code>&nbsp;method:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">   getPackageSignatureForAndroid();<\/pre>\n\n\n\n<p>3. Run your project and go to the sign-in screen.<\/p>\n\n\n\n<p>4. Find the packageSignature from the logs.<\/p>\n\n\n\n<p><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Estimated reading: 1 minutes What does PhonePe appId refer in PhonePe payment gateway settings?\u200b Obtain App Id 1. Call the following method in the&nbsp;init()&nbsp;method of your project to print packageSignature in release mode with JKS to get the App ID from PhonePe: \/\/*This Method is Needed to print packageSignature in release mode with jks to [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"parent":259,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-handyman-services"],"featured_image_src":null,"author_info":{"display_name":"laraveladminiq","author_link":"https:\/\/documentation.iqonic.design\/handyman\/author\/laraveladminiq\/"},"children":[],"_links":{"self":[{"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/comments?post=271"}],"version-history":[{"count":4,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":1427,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/posts\/271\/revisions\/1427"}],"up":[{"embeddable":true,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/posts\/259"}],"wp:attachment":[{"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/media?parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/categories?post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/documentation.iqonic.design\/handyman\/wp-json\/wp\/v2\/tags?post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}