How to fetch google wallet tickets/passes in android kotlin? - android-pay

I need to display the available google wallet passes in my application. How to fetch the wallet passes.
https://developers.google.com/wallet

Related

how to verify aadhar with mobile OTP api using nodejs

We are developing a mobile app for our health care client. To keep the patient signup/registration process quick we will use Aadhar APIs. So that patient will enter his/her Aadhar number after that will receive OTP and submit it to Aadhar authentication API and once authentication is successful we will fetch demographic details of a patient like a Name, Address, DOB, etc. using KYC API.
I searched for an API but I didn't find any API's

How to integrate Paypal with node js into REST way

I need to integrate paypal with node js ( first time ). But node js working as REST server with frontend built on mobile ( Android and iOS ). I think purpose of using return url and cancel url for web based frontend not for mobile.
Previously I implemented Stripe payment gateway which have simple system which generate a auth token on mobile and mobile sent this token to Node Js Rest API. So not node js application have buyer auth token and it process the required payment.
But I am very much confused how Paypal achieve same scenario.
UPDATE : I am using paypal official node js package https://github.com/paypal/PayPal-node-SDK
UPDATE : After more search, I see some steps in payment flow
User paypal payment create API into my REST API to get "payment id" and links.
Hit on approval_url link which used for fullfill buyer information on paypal site. After completion, Paypal hit automatically described return url in first API, along with payment id and payer id params.
In Return API, use payment id and payer id params to paypal payment execute API.
If all above is actual process to generate payment, Then I am assuming that Backend API only needed third Step which API url could be shared with mobile developer in their integration of paypal.
So Mobile will
create payment
Fill Buyer information
While Paypal automatically hit return url where backend API will execute payment.
If this is the recommended ( or only ) way to paypal integration with mobile and rest apis ?
The purpose of return and cancel url is to notify the client(mobile or web) for potential user action, if user completes payment then via return url and if user cancels payments via cancel Url
You can use rest or nvp PayPal will support both, they have rest endpoints which you can use to complete the transaction.
https://github.com/santhoshlfms/Android_PayPal_EC_NodeJs_Server_Sample (Node server)
https://github.com/santhoshlfms/Android_PayPal_EC_CustomTab_Demo (Mobile Front end)
you can follow these repo to figure out how to proceed.

Facebook integration in android studio to fetch friends Facebook Id

[sample code to fetch (Facebook friends id) in android studio using Facebook API.please provide some links]
according to new sdk facebook returns the person's friends who also use the app.
If you want to access a list of non-app-using friends, there are two options:
If you want to let your people tag their friends in stories that they publish to Facebook using your App, you can use the /me/taggable_friends API. Use of this endpoint requires review by Facebook and should only be used for the case where you're rendering a list of friends in order to let the user tag them in a post.
If your App is a Game AND your Game supports Facebook Canvas, you can use the /me/invitable_friends endpoint in order to render a custom invite dialog, then pass the tokens returned by this API to the standard Requests Dialog.

Not able to create merchant sandbox account for google wallet api for digital goods

I am trying to integrate my django web app with google wallet api for digital goods to handle payments. I am using this tutorial: https://developers.google.com/wallet/digital/docs/tutorial
For creating sandbox merchant account for seller, I click on https://sandbox.google.com/checkout/inapp/merchant/signup.html.
After filling the form and click on submit button I am getting the error message:
There was an error completing sign-up. Learn more
I am not able to generate merchant ID or key.

Google Wallet API : Masked Wallet Error

I tried to do a Google Wallet Integration , I am able to successfully use the createWalletButton API. On clicking the button , I am asked to login to Google Wallets - which is successful as well. But the call to retreive the wallet information fails. The following error is displayed:
Uh-Oh. There was a problem. Sorry, Google Wallet couldn’t complete your request. Please return to the merchant to choose a different payment method, or try again later. Error: 62 (121217125033+0530)
The same error is also seen when trying to call the requestMaskedWallet API. Please advise.
A prompt response will be helpful and much appreciated.
I am getting the error problem in Google Sample App : Instant Buy
Downloaded Sample Instant Buy App
As you are trying to use the Web/JS API for Instant Buy the access to Sandbox for that is to be first requested from Google - http://getinstantbuy.withgoogle.com/ after you are given sandbox access and Merchant ID etc (which you may have seen is required to be in the JWTs), you will be able to use it.

Resources