#dcboy_api

1 messages ยท Page 1 of 1 (latest)

exotic rivetBOT
#

๐Ÿ‘‹ 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.

chrome lanternBOT
#

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.

steady gazelle
#

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());
        }
    });
}
wooden terrace
#

What's the PaymentIntent ID?

steady gazelle
#

pi_3PgH4iCrjnIEUibM1sDKaFyK

wooden terrace
#

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?

steady gazelle
#

apple pay and CMB of china

#

UnionPay

wooden terrace
#

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)

steady gazelle
#

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

wooden terrace
#

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.

steady gazelle
#

but my device alreay install GMS and google play store

wooden terrace
#

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

steady gazelle
#

ok, Device-specific UX where have demo on github?

wooden terrace
steady gazelle
#

thanks

#

Thank you very much for your help. I have no further questions.