Google Pay CRYPTOGRAM_3DS integration for websites - braintree

I am trying to integrate Google Pay into one of our websites. If I provide only CRYPTOGRAM_3DS as an authentication option, the Google Pay button is not getting displayed in Desktop Chrome and even in Android Chrome also. I have read that CRYPTOGRAM_3DS is used for the cards that got stored in Android device as tokens. Does that mean that I have to use CRYPTOGRAM_3DS only for Android app integration or will it work for web integration also? I really want to understand when we have to use CRYPTOGRAM_3DS as an authentication method for Google Pay integration. If it supports for web integration, what are the things that I need to do to really see the Google Pay button with only CRYPTOGRAM_3DS as authentication option?

I have read that CRYPTOGRAM_3DS is used for the cards that got stored in android device as tokens.
This is correct, CRYPTOGRAM_3DS is only available for cards tokenized using Google Pay. This means that it is only available on Android for both web and Android integrations on an Android device.
Can you include a sample integration with sample code?

Related

Can we send a notification to phones enrolled on the Android Management API solution (google)

I have enrolled a phone via google solutions (Android Management API: https://developers.google.com/android/management/reference/rest/v1/enterprises.policies). This one is correctly enrolled and all works correctly.
My question is very simple: Can we send an Android notification to this phone just by using google api ?
I have searched a lot on google and it doesn't seem to be implemented. Do you know if this will be implemented soon or never?
If we can't go through google api (Android Management API), what would be the most efficient way to notify a phone?
Thank you,
Sincerely.
Adrien.
Unfortunately, AMAPI does not have a feature for sending notifications to the device using the cloud DPC. You will have to implement notifications in a companion app to support the desired functionality.

Test GMail marketplace app flow

So here I am again, exploring new Google platform and hunting down information and docs.
I'm trying to build a skeleton of a flow before I write any business logic code with actual use of the APIs, and as expected from Google, this process is excruciatingly painful.
I've tried to follow this doc:
https://developers.google.com/gsuite/marketplace/listing
Packaged the zip, put the flag DOMAIN_INSTALLABLE flag as was instructed in order for the app to be installible from the marketplace. In the dashboard of PRICING & DISTRIBUTION I've selected Private and added testers to the list of testers.
Now when I click View in Chrome Web Store (seen in image) it takes me to the extensions web store, and not to the marketplace store.
How can I get to the GSuite Marketplace flow, rather than the extension flow? Do I need to alter my manifest.json in some way that is not mentioned in the docs?
Thanks
it's true that the publishing flow is too complicated now. We are working on improvements and in the future everything will be in one place.
Unfortunately G Suite Marketplace does not support trusted testers (yet), that's why it doesn't show up.
What you might be able to do, is modify the url a bit after you clicked on 'View in Chrome Web Store'.
Just remove everything after the webstore id
I use this url:
https://chrome.google.com/webstore/detail/xxxxxx
xxxx should be your webstore id
You should be able to show your unlisted app in the Gsuite Marketplace, where you can initiate the install flow.
It works for me, but my test app

Client flow login for Xamarin?

I am looking for sdk that can help me do the client flow login in my Xamarin app(shared assets with forms UI) for Facebook and LinkedIn for iOS and android. I've got it working using Xamarin.Auth server flow but having hard time in client flow.
For facebook, I tried Xamarin Android Facebook, Xamarin iOS Facebook and cross platform facebook sdk by outercurve foundation. The official xamarin facebook sdk's are in very bad shape, don't work and no documentation has been provided as well. I couldn't find any for LinkedIn though.
My main objective is to use facebook and linkedin app to do the authentication to provide better user experience.
Eventually worked with official Xamarin Facebook SDK's for facebook for android and iOS. This blog post from James Montemagno came in handy.
Take a look at Auth0. They have a reasonable SDK and they support a large number of different Social Authentication providers including Facebook and LinkedIn. Their authentication service isn't free once you reach critical mass, but it's great to have the whole authentication aspect handled for you. Check it out at http://www.auth0.com

Is there an API of all enabled APIs in Google console?

I would like to get a list of all the APIs, which are enabled for my project in Google Developer Console. Is there any way?
PS: I know there is a Google Discovery API, which can be used. But I would rather not apply a filter myself.
The discovery services API returns a list of all available Google APIs and has nothing to do with your project on Google Developer console.
There is not currently an API that will give you access to the enabled APIs within a project on Google Developers console. You will have to check manually on the website yourself.

Braintree and credit card payment from mobile app

I am working on an app that requires payment to be collected from customers. I have few questions related to braintree integration with my app. I am actually struggling a bit with the workings of the braintree so thought of checking here.
The PCI compliance is critical so i do not want to store anything in my app or the backend server. Can I achieve this with braintree? I also don’t want customer to retype the credit card information when they come back to the app. As I understand there is a Vault functionality which can do this but I was not sure.
Do I invoke the braintree API from iOS app directly or do I need to first send the credit card information to my backend layer and then invoke the Braintree APIs from backend. I don’t want to transmit anything to my server due to the PCI compliance so I am hoping that I can just invoke the braintree API directly from the iOS APP and when user comes back, again invoke the braintree Vault API from the APP and pull the previously used credit card.
appreciate if anyone can pls. direct me to some kind of architecture / white paper/best practice on this. I went thru the APIs document on braintree site which provides and good API documents but i could not find the high level architecture document on this.
Thanks in advance..
Yes. https://articles.braintreepayments.com/control-panel/vault/overview
Yes use from iOS. https://developers.braintreepayments.com/ios+ruby/start/hello-client
for number three... I'm not sure where to find that. Definitely ask support

Resources