How to integrate 3D secure on Xamarin.Forms with Stripe? - xamarin

I had integrated a payment method with stripe on a Xamarin.Forms application that works only for payments that don't require 3D secure.
Today I'm looking to integrate the 3D secure part on my Xamarin.Forms application but the Stripe documentation does not provide any information for Xamarin.Forms.
For the moment my application create a TokenService before payment and then a ChargeService to make a payment.

Related

Google Pay CRYPTOGRAM_3DS integration for websites

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?

Integrating payments into chatbot

I wanted to know if it is possible to integrate payments into a chatbot built upon MS Bot Framework without using PayPal/Stripe APIs. I've got a traditional payment gateway that I wish to use for payments, is there any way to render a webpage within a bot window? Also, I'm not entirely sure whether such an approach is safe.
Any other suggestions in terms of approaching this problem are also welcome.
You can simply use depends on the language you're using the CSharp Payment Bot Sample or Node Payment Bot Sample that uses Stripe or if you want to use PayPal, you can just create a Payment Button where the user will have to click on, get redirected to a browser to finish the payment and create an endpoint for PayPal's Instant Payment Notification on your Bot so it can tell when the payment has been processed.

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

Xamarin ios and android payment gateway in browser

I am using Xamarin for mobile development.
I have a requirement to integrate a payment gateway with the app. Chosen payment gateway has a web interface only.
Is there a way i can use this payment gateway, like opening up a webclient and then using web view to make transactions and then provide a redirect url of the app so that success/failed transactions can be redirected to the app and then i can show data that has been bought ?

Implementing Google OAuth2 in Xamarin for Google Classrooms

Any idea when a Google Classroom library wil be available for Xamarin? I have tried the .NET and Android library, but the GoogleWebAuthorizationBroker and FileDataStore does not exist, and Xamarin doesn't cater for "urn:ietf:wg:oauth:2.0:oob" as a redirect url when authenticating with Google Api (OAuth 2). Is there a workaround that anyone know of?
We are unlikely to build any library specifically for Xamarin. The details of our OAuth2 endpoints are publicly available, so it is in theory possible for you to develop your own implementation.

Resources