Search code examples
xamarinpaypalcredit-card

Credit card payment in Xamarin


I am developing a mobile app using Xamarin. My main target will be Android devices, but i want to be able to extend to IOS. I want to set up a "marketplace", where you can buy currency, used to buy items in the app. The user should be able to pay with their credit card.

Do any of you have experience with implementing credit-card payment in Xamarin? I have been looking at the paypal SDK, but i am not sure if it is the right one to go with, so if you have hands-on experience, i would appreciate your advice.


Solution

  • I would suggest looking down the route of using the relevant "app stores" for doing your payments. Particularly on the Apple side, they tend to reject payment methods external to their own. See https://developer.xamarin.com/guides/ios/application_fundamentals/in-app_purchasing/

    There is a recent article here regarding the setup of in-app purchasing on Android and IOS. https://blog.xamarin.com/integrating-in-app-purchases-in-mobile-apps/