#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/1267681448534741104
๐ 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.
on my default apps is hide bottom nav bar
Thanks for sharing! Checking it now
second question is collectPaymentMethod callback success with paymentintent how can i get CardPresentDetails fingerprint?
{
"amount": 500,
"amountCapturable": 0,
"amountReceived": 0,
"applicationFeeAmount": 0,
"canceledAt": 0,
"captureMethod": "manual",
"charges": {
"data": []
},
"clientSecret": "pi_3Pi5YGCrjnIEUibM0GWCan9e_secret_lN2zRZxdE9Z91nTYBFkeJXxiy",
"confirmationMethod": "automatic",
"created": 1722305556,
"currency": "sgd",
"id": "pi_3Pi5YGCrjnIEUibM0GWCan9e",
"livemode": false,
"metadata": {},
"paymentMethodOptions": {
"cardPresent": {
"requestExtendedAuthorization": false,
"requestIncrementalAuthorizationSupport": true
}
},
"paymentMethodTypes": [],
"paymentMethodUnion": {
"paymentMethod": {
"cardPresentDetails": {
"brand": "visa",
"country": "US",
"expMonth": 12,
"expYear": 2030,
"funding": "credit",
"issuer": "TEST",
"last4": "0119",
"networks": {
"available": [
"visa"
]
},
"preferredLocales": [
"en"
],
"readMethod": "contactless_emv"
},
"created": 1722305562,
"id": "pm_1Pi5YMCrjnIEUibMqCUZ3hBQ",
"livemode": false,
"metadata": {},
"type": "card_present"
}
},
"status": "REQUIRES_CONFIRMATION"
}
doesn't have fingerprint
Hiding the navigation bar is not within Stripe SDK. I'd recommend checking this Android guide to hide a navigation bar: https://developer.android.com/training/system-ui/navigation
second question is collectPaymentMethod callback success with paymentintent how can i get CardPresentDetails fingerprint?
Which guide are you following? Can you share the doc link that mentioned you will be able to get CardPresentDetails fingerprint?
CollectConfiguration collectConfig = new CollectConfiguration.Builder()
.updatePaymentIntent(true)
.build();
Cancelable cancelable = Terminal.getInstance().collectPaymentMethod(paymentIntent,
new PaymentIntentCallback() {
@Override
public void onSuccess(PaymentIntent paymentIntent) {
PaymentMethod pm = paymentIntent.getPaymentMethod();
CardPresentDetails card = pm.getCardPresentDetails()
? pm.getCardPresentDetails()
: pm.getInteracPresentDetails();
// Placeholder for business logic on card before confirming paymentIntent
}
@Override
public void onFailure(TerminalException exception) {
// Placeholder for handling exception
}
},
collectConfig);
this methods
how can i get the card fingerprint with CardPresentDetails
Since stripe-terminal-android v3.0.0, fingerprint has been removed from CardPresentDetails in mobile SDK: https://github.com/stripe/stripe-terminal-android/blob/master/CHANGELOG.md#300---2023-09-08
You can only get the fingerprint from the server
got it thanks
Retrieve Payment Method API [0] can be used and fingerprint will be found in card_present.fingerprint: https://docs.stripe.com/api/payment_methods/object#payment_method_object-card_present-fingerprint
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok, thank you very much
No problem! Happy to help ๐