Handy TipsYou must have a separate integration with the external wallet of choice. Razorpay passes the customer data, such as contact and email, entered in the Checkout to the handler object. You must pass this data to the external wallet integration.If you are using any of the following external wallets, you can make them appear in your checkout form. You must pass the required string value as an array against
external wallets:Wallet Names | String Values
Paytm | paytm
Citrus Wallet | citrus
Amazon Pay | amazonpayYou can list these wallets on any of the following platforms:- Web application
- Android
- iOS
Handy TipsThe wallet payment method can be used for a purchase amount of up to ₹20000 (2000000 in paise).
Web Application
To list external wallet on your web application, you need to first integrate our checkout form. After you integrate, follow the steps given below:-
Add a key
externaltocheckout.jsoptions. -
Set
walletswith wallet name array inexternalas the first parameter.JavaScript -
Set
handlerwith a callback function inexternalas second parameter. This is where you receive a callback from which you can handle external wallets based on the parameters:
JavaScript
checkout.js library will return the control to you in the external.handler method. You will get the selected wallet name as an argument. You will now have to handle the external payment method.
Android
To list external wallets on your Android app, you need to first integrate our Android checkout SDK. After you integrate our Android checkout, follow the steps given below:-
Implement
ExternalWalletListenerin your activity. -
Send external wallet information to checkout in options. You can send it in the following way:
onExternalWalletSelected method. You will get the selected wallet name as an argument. You will now have to handle your payment.
iOS
To list external wallet on your iOS app, you need to first set up your framework. Know more aboutRazorpay iOS Integration. Perform the following steps:-
Implement
ExternalWalletSelectionProtocolin your view controller. -
Set
ExternalWalletSelectionDelegateto get callback in delegate method. -
Send external wallet information to Checkout in options. You can send it in the following way:
-
Implement
onExternalWalletSelected:WithPaymentData:delegate method to receive callback and get control back.
onExternalWalletSelected method. You will get the selected wallet name as an argument. You will now have to handle the external payment method.