How to Create a Gmail App Password for FamPay & UPI Automation (2026 Guide)
To securely read payment receipts from FamPay, FamGateway requires access to the Gmail account linked to your FamPay app using our Non-Custodial IMAP Engine. However, we never want your real Gmail password. Instead, Google provides an isolated 16-character App Password designed specifically for secure automation.
What is a Gmail App Password for FamPay? A Google App Password is an isolated 16-character security token that gives FamGateway read-only access to incoming FamPay payment confirmation emails via IMAP, without exposing your primary Google password or personal data.
Enable 2FA
Turn ON 2-Step Verification at myaccount.google.com/security.
Search App Passwords
Search "App passwords" in your Google Account search bar.
Name Your App
Type "FamGateway" as the app name and click Generate.
Copy 16-Digit Token
Copy the 16-character passcode directly into FamGateway.
- Length & Type: 16-character isolated token (e.g.
abcd efgh ijkl mnop). - Security Level: Bypasses your primary Google password; cannot change account recovery or personal data.
- Encryption: Encrypted on FamGateway servers using bank-grade AES-256-GCM.
- Revocation: Instantly revokable at any second from your Google Security console.
| Security Property | Google App Password | Real Account Password |
|---|---|---|
| Access Scope | IMAP Receipt Read Only | Full Google Account Control |
| Account Settings Access | 0% (Blocked by Google) | 100% Full Access |
| One-Click Revocation | Instant via Trash Icon | Requires Full Password Reset |
Open your browser and navigate to myaccount.google.com/security. Make sure you are logged into the exact Gmail account associated with your FamPay.
Scroll down to the "How you sign in to Google" section. If 2-Step Verification is off, click on it and follow the prompts to enable it using your phone number.
Once 2-Step Verification is on, click on the search bar at the very top of the Google Account page. Type in "App Passwords" and click the result that appears.
You will be prompted to enter an App name. Type FamGateway and click Generate.
Google will show a yellow box containing a 16-character password (e.g., abcd efgh ijkl mnop). Copy this exact password (ignoring spaces is fine, but copy it completely).
Paste this into your FamGateway Dashboard under the Gmail App Password field and click Save.
Troubleshooting Common Google App Password Issues
If you encounter difficulties during the generation process, check these three common solutions:
- App Passwords Option Missing: If searching "App Passwords" returns no results, ensure 2-Step Verification is fully active. Note that school or managed enterprise Google Workspace domains often disable App Passwords via organizational admin policy; always use a standard personal
@gmail.comaccount. - Dashboard Shows "IMAP Connection Failed": Ensure you haven't included leading or trailing whitespace. Verify that IMAP access is enabled in your Gmail settings under Settings → Forwarding and POP/IMAP → Enable IMAP.
- Password Invalidation: Changing your primary Google account password automatically revokes all active App Passwords as a security safeguard. If you update your master Google password, simply generate a fresh 16-character token for FamGateway.
Enhance Security with Biometric Passkeys
While Google App Passwords protect your email integration, we also recommend securing your FamGateway merchant dashboard itself. You can now enable FIDO2 / WebAuthn Biometric Passkeys (Face ID, Touch ID, or Windows Hello) in your profile settings. Read our guide on FamGateway Biometric Passkey Login to eliminate password phishing risks forever.
Frequently Asked Questions (FAQ)
What is a Google App Password and why does FamGateway need it?
A Google App Password is an isolated 16-character passcode that allows FamGateway's stateless IMAP listener to read incoming FamPay transaction receipt emails. It bypasses your primary Google password, preventing access to your account settings, personal documents, or Google Drive.
Can FamGateway access my personal emails or change my Google password?
No. Google App Passwords do not grant administrative permissions. Google strictly blocks App Passwords from modifying account security settings, recovery emails, or accessing sensitive APIs. Furthermore, FamGateway's parser only inspects emails matching FamPay payment notifications in volatile RAM.
How do I revoke FamGateway's access if I change my mind?
You can instantly revoke access at any second. Navigate to myaccount.google.com/apppasswords and click the trash can icon next to 'FamGateway'. The token is immediately invalidated across all Google servers.
Can I protect my FamGateway merchant account with biometric passkeys?
Yes. In addition to Google App Passwords, FamGateway supports hardware-level FIDO2 / WebAuthn Biometric Passkeys (Touch ID, Face ID, Windows Hello), eliminating traditional dashboard password risks.
Configure App Password in Dashboard →
Related Developer Guides & Resources
How to Integrate FamPay UPI Payment Gateway in SMM Panels (Rental, Perfect Panel & SmartPanel)
Step-by-step developer guide to integrating FamPay UPI payment gateway in SMM panels (Rental, Perfect Panel...
How to Accept UPI Payments on WooCommerce Without GST or Current Account (2026 Guide)
Complete tutorial on accepting automated UPI payments on WooCommerce without GST or a commercial current ac...
How to Accept Automated UPI Payments in Telegram Bots (Python & Node.js Guide)
Step-by-step tutorial on accepting automated UPI payments in Telegram shop bots using Python (FastAPI) and ...