#mastjoe_webhooks
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/1447704337580036253
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
You'd have to get it from the payment method object: https://docs.stripe.com/api/payment_methods/object#payment_method_object-card_present-read_method
Thanks for your response @full warren , but from samples I have, the both have contactless_emv value
Oh yeah you can't separate contactless chip card and mobile wallet
They're grouped in that same category
But if wallet is populated, then you know it was mobile wallet: https://docs.stripe.com/api/payment_methods/object#payment_method_object-card_present-wallet
The samples I have none has wallet object under the card_present object. Neither the NFC nor terminal charge
Can you share an example payment method where a wallet was used but the wallet param is empty?
๐ codename_duchess has to head out, i'll be taking over the thread. Just getting caught up.
Alright
welcome @obtuse basin ,
I am trying to distinguish between an NFC charge and that of terminal from the Stripe charge object, as both appears as card_present and read_method is equally contactless_emv
Do you have the request ids from those mentioned examples we can take a look at?
Yeah I do.. will share in a bit...
Terminal charge event => evt_3S12p2GOKMeqlOVU0Evplc9N (req_QHlyGnaljHnESJ)
NFC charge event => evt_3S12oUGOKMeqlOVU001U1Gw3 (req_pdeuBXntQNZxZW)
Typically, there will be card_present.wallet information if the payment is made through a wallet payment: https://docs.stripe.com/api/payment_methods/object#payment_method_object-card_present-wallet
How do you know that that ch_3S12oUGOKMeqlOVU0Ucrduwi from evt_3S12oUGOKMeqlOVU001U1Gw3 was a wallet payment? What NFC payment method is this?
The metadata field.
Due to the inconsistency of the metadata field, I sought a more standardized and reliable way to distinguish them.
some metadata field are created in the course of creating the charge which helps to tell which is terminal or nfc, but sometimes does not happen, so need something original from Stripe to make that distinction
How does your system determine whether this is a NFC transaction? I could see that your system set the metadata field as icabbi_transaction_type: "nfc_ios" in https://dashboard.stripe.com/acct_1EwQweGOKMeqlOVU/logs/req_9X4iO58mDGT6DF
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
What does this nfc_ios mean?
honestly I don't know how that determination is done as it is handled by a separate team, I would've depended on it but it is not consistent
the suffix comes as either ios or android I think that the suffix represents the OS of the contactless device maybe
Based on https://dashboard.stripe.com/acct_1EwQweGOKMeqlOVU/logs/req_pdeuBXntQNZxZW where the card information is sent to Stripe through, there wasn't any indication that this is a NFC payment. Do you have any charge object that you can successfully determine this is a NFC payment when you cross check with Stripe charge data?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I honestly do not know, I was trusting that the metadata value was correct. How correctly can I tell that a charge is NFC ?
From our data, I can't tell whether this is a NFC transaction. If this is a NFC made from a wallet payment method, card_present.wallet should have the wallet payment method type. However, this field is not present for ch_3S12oUGOKMeqlOVU0Ucrduwi. It will be helpful for us to understand how your system determines nfc_ios. Does someone at your side enter this value manually through POS, or is there any automatic way determined by your system?
I think it automatically updated. I will probably enquire from the team in charge to know how that is determined .
Just to be sure, do you mean that every genuine NFC transaction is expected to have a wallet payment method, card_present.wallet ?
Yes! Take ch_3ScDaEGOKMeqlOVU1zxND2lj as an example, its charge.succeeded event showed the card_present.wallet as apple_pay: evt_3ScDaEGOKMeqlOVU1rd4twah
Alright. Thanks for the clarifications.
No problem! Happy to help ๐