
Import 'package:url_launcher/url_launcher.dart' Ĭlass MyApp extends StatelessWidget build(BuildContext context) ). One main problem with this method is that this doesn't give any call back to check whether the payment has been successful or failed. I read somewhere that only INR is supported now.

pa: UPI id of the requesting personĬu: Currency. You need a package called url_launcher to be added in pubspec to this get work.Ĭheck the documentation here to see the details of parameters used in the URL.Īll parameters are required. If you are using flutter this is how it can be done. I believe the parameter name you are after is pa. You can still just hold your phone near an NFC terminal for Google Pay to open up automatically and make a payment with your default card, but if you want to change your payment method or. tPackage(GOOGLE_PAY_PACKAGE_NAME) Īctivity.startActivityForResult(intent, GOOGLE_PAY_REQUEST_CODE) Intent intent = new Intent(Intent.ACTION_VIEW) appendQueryParameter("url", "your-transaction-url") appendQueryParameter("am", "your-order-amount") appendQueryParameter("tn", "your-transaction-note") appendQueryParameter("tr", "your-transaction-ref-id") appendQueryParameter("mc", "your-merchant-code") appendQueryParameter("pa", "your-merchant-name") You can also refer to Google Pay documentation on how to integrate with in-app payments: String GOOGLE_PAY_PACKAGE_NAME = "." In apps, there's no upper limit.Disclaimer: I don't live in India and don't have access to UPI to verify for myself.Ĭonsider using the UPI linking specification ( upi://) to create UPI links for use with UPI compatible applications. In most stores you'll be able to spend up to £45 per transaction. Enter this in the Google Pay app to complete set-up.Īnd that's it - you're ready to start spending with Google Pay. If you choose SMS, we'll send a verification code to your mobile. It wont take more than 15 to 25 minutes to complete. Well offer you a free recording platform. You must record phrases like 'OK Google,' 'open Gmail,' and similar expressions. To make sure it's you who's trying to register the device, we'll give you the option to complete the verification by SMS or a phone call. 100 native English speakers from the United States are needed. Download the app on Google Play or the App Store, or visit. Then tap “Add a credit or debit card” and follow the instructions. It only takes a few minutes to get up and running with Google Pay. You'll only be able to download it if your device is compatible. Alternatively, search for the Google Pay app in the Play Store. To find out what version of Android your phone is running, open your app drawer, tap Settings, then About phone and scroll down until you find details of the Android version.

To use Google Pay, your device will need to be running Android 4.4 (KitKat) or above. Check that your device is compatible with Google Pay
