Stripe Api kullanarak android oluşturmak istediğim her şeyi oluşturdum ve şimdi jetonu alabiliyorum ama o sunucuya sunucu kodu veya web servisini bulamadığım problemi gönderebileceğini söyledi onunla herhangi bir yardım ödemek benim belirteç alıp gidecek lütfenStripe payment Android
https://stripe.com/docs/mobile/android
Card card = new Card("4242424242424242", 12, 2017, "123");
Stripe stripe = new Stripe("pk_test_6pRNASCoBOKtIshFeQd4XMUh");
stripe.createToken(
card,
new TokenCallback() {
public void onSuccess(Token token) {
// Send token to your server
//what should i do in this step i want any code in php that do this job
}
public void onError(Exception error) {
// Show localized error message
Toast.makeText(getContext(),
error.getLocalizedString(getContext()),
Toast.LENGTH_LONG
).show();
}
}
)
bir php dosyasına
Sisteminizin e. Sunucu tarafında hangi dili kullanıyorsunuz? –
Stripe'de PHP örnekleriniz var: https://gist.github.com/1750375 –