#morteza_ttp-receipt-details
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/1267500913434820669
๐ 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.
- morteza_api, 3 days ago, 31 messages
- morteza_api, 3 days ago, 51 messages
hi
I've developned a tap to pay app
using react-native-stripe-terminal
now I'm asked to show merchant id, terminal id, application id and auth code in the receipt
but there aren't such fields on charge_event_success event object sent by webhook
do we have such a thing called Application ID on stripe, or it's generated by our backend
AID : Application ID
TID : Terminal ID
MID : Merchant ID
auth code : Authorization Code
Can you share an example pi_xxx/ch_xxx?
What is an 'application ID'?
Terminal ID I assume is the tmr_xxx ID of the reader used?
Merchant ID is the acct_xxx of the Stripe account?
but in tap to pay we run the app on cellphone
What question is that in detail in context to? Like an iOS app ID or something?
no I mean when we run tap to pay on ios or android, do we have terminal id
No, you'll likely need to set that in metadata on the intent when you create it
like a unique id of the device ?
Yes some unique identifier. We don't have API objects that represent Tap to Pay readers (like a tmr_xxx)
pi_3PabN7LmjdnG8GX01pcflTGv
this is the pi id for a tap to pay intent
by the way, what's the authorization code
there's one available on charge object
are they the same ?
That's only available on non-Terminal payments: https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card-authorization_code
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
As I said, none of the details you want are set on the intent/charge so you're likely going to need to set fields on metadata that you want available on successful payments for receipts etc
but authorization code is available
on charge object
for the others I have to generate myself
right
?
No, not for Terminal payments. Only online payments (payment_method_details[card])
what about card_present
?
because when we make a purchase with tap to pay
the payment-method is
card_present
As explained, authorization_code is not available for those payments no
Hi ๐
I'm stepping in as my colleague needs to go soon
What is the current state of your question?
Hi, I guess it's solved, I have to generate all these fields except for the merchant id which is actually the stripe account-id and put them all on metadata
Yes that is the recommended approach for this scenario. I'm glad my colleague was able to answer your questions
thank you and your colleagues
We're happy to help ๐