#dcboy_api

1 messages ยท Page 1 of 1 (latest)

wet martenBOT
#

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

kind pilotBOT
#

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.

quaint solstice
#

on my default apps is hide bottom nav bar

brazen badge
#

Thanks for sharing! Checking it now

quaint solstice
#

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

brazen badge
#

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?

quaint solstice
#

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

brazen badge
#

You can only get the fingerprint from the server

quaint solstice
#

got it thanks

brazen badge
#

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

[0] https://docs.stripe.com/api/payment_methods/retrieve

quaint solstice
#

ok, thank you very much

brazen badge
#

No problem! Happy to help ๐Ÿ˜„