- Notifications
You must be signed in to change notification settings - Fork8
Xamarin Binding Library - BrainTree Android SDK
License
NAXAM/braintree-android-binding
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A Xamarin.Android binding library forBrainTree DropIn Android library.
The library used to be under the name of
Naxam.BraintreeDropIn.Droid. Naxam is no longer in business for years hence I remove the trademark from the name and hope it more neutral for the community to contribute.
Install-Package BraintreePayments.API.DropIn.DroidThis project is to provide C# libraries for corresponding libraries in Java/Kotlin, however, the APIs are exactly the same.
Here are snippets which could be found inMainActivity in the demo project.
dropInRequest=newDropInRequest();dropInRequest.PayPalRequest=newPayPalVaultRequest();vargooglePayRequest=newGooglePayRequest();googlePayRequest.TransactionInfo=TransactionInfo.NewBuilder().SetTotalPrice("10.0").SetTotalPriceStatus(WalletConstants.TotalPriceStatusFinal).SetCurrencyCode("USD").Build();googlePayRequest.BillingAddressRequired=true;dropInRequest.GooglePayRequest=googlePayRequest;dropInRequest.VenmoRequest=newVenmoRequest(VenmoPaymentMethodUsage.MultiUse);dropInRequest.ThreeDSecureRequest=newThreeDSecureRequest{Amount="10.0"};dropInClient=newDropInClient(this,"sandbox_tmxhyf7d_dcpspy2brwdjr3qn");dropInClient.SetListener(this);
dropInClient.LaunchDropIn(dropInRequest);
Plz follow official guide from Braintreehere for further details.
Known issue
AndroidManifest.xml is incorrectly configured or another app defines the same browser switch url as this app. Seehttps://developers.braintreepayments.com/guides/client-sdk/android/#browser-switch for the correct configuration
SOLUTION: Just remove special characters from your app's package name/id. like underscores and etc. (source)
This project is maintained bytuyen-vuduc in his spare time and/or when requested.
If you find this project is helpful and benefit your work/business, please give it a star, become a sponsor of the project and/or buy him a coffee.
Braintree native libraries and its dependencies are licensed under their original owners' licenses. Please check out their main website for further information.
Braintree binding libraries for Android is released under the MIT license.SeeLICENSE for details.
About
Xamarin Binding Library - BrainTree Android SDK
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.
