Android Stripe UI
- Implement A Stripe UI Helper
# Video ScreenShot
##Gradle
- Step 1. Add the JitPack repository to your build file
- Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}- Step 2. Add the dependency
compile 'com.github.extralam:Stripe-Android:1.0.2'String mDefaultPublishKey = "pk_test_your_code";
StripePaymentDialog.show(
getSupportFragmentManager(),
mDefaultPublishKey,
"[email protected]",
"https://stripe.com/img/about/logos/logos/black.png",
"Your Shop Name Limited",
"$100 Movie Ticket",
"hkd",
100,
new StripePaymentDialog.OnStripePaymentDismissListener() {
@Override
public void onSuccess(Dialog mmDialog, Token mmToken) {
Log.d("atest","id : " + mmToken.getId());
}
});An android developer in Hong Kong.

