#dcboy_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1265860198392660031
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- dcboy_api, 18 hours ago, 49 messages
private void createPaymentIntent() {
PaymentIntentParameters params = new PaymentIntentParameters.Builder()
.setAmount(100)
.setCurrency("SGD")
.build();
Terminal.getInstance().createPaymentIntent(params, new PaymentIntentCallback() {
@Override
public void onSuccess(@NonNull PaymentIntent paymentIntent) {
// Placeholder for collecting a payment method with paymentIntent
Log.i(TAG, "createPaymentIntent onSuccess:" + paymentIntent.toString());
retrievePaymentIntent(paymentIntent);
}
@Override
public void onFailure(@NonNull TerminalException exception) {
// Placeholder for handling exception
Log.i(TAG, "createPaymentIntent onFailure:" + exception.toString());
}
});
}
What's the PaymentIntent ID?
I don't see any payment intent confirmation requests from your terminal app.
What's the brand of your card?
Is it a Visa, Mastercard, or American Express?
Ah, it's not supported
Tap to Pay on Android includes support for Visa, Mastercard, and American Express contactless cards and NFC-based mobile wallets (Apple Pay, Google Pay, and Samsung Pay)
ok i try another card
i have another question
Device is not Google Mobile Services (GMS) certified. If this is incorrect, we recommend that you perform a factory reset or contact your device manufacturer
Is this certification mandatory? Does it affect the use of tap to pay
Yes it's mandatory.
An Android device can't install Google Mobile Services and Google Play Store app without GMS.
That's the requirement from Google and it's beyond Stripe control.
but my device alreay install GMS and google play store
You might want to reach out to the device manufacturer on this. They shouldn't install Google Mobile Services and Google Play Store app without GMS certificate
ok, Device-specific UX where have demo on github?
You can find the UX examples here https://docs.stripe.com/terminal/payments/setup-reader/tap-to-pay?platform=android#device-specific-nfc-tap-zone-ui