#morteza_ttp-receipt-details

1 messages ยท Page 1 of 1 (latest)

void fieldBOT
#

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

visual schoonerBOT
#

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.

woeful burrow
#

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

weak maple
#

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?

woeful burrow
#

but in tap to pay we run the app on cellphone

weak maple
#

What question is that in detail in context to? Like an iOS app ID or something?

woeful burrow
#

no I mean when we run tap to pay on ios or android, do we have terminal id

weak maple
#

No, you'll likely need to set that in metadata on the intent when you create it

woeful burrow
#

like a unique id of the device ?

weak maple
#

Yes some unique identifier. We don't have API objects that represent Tap to Pay readers (like a tmr_xxx)

woeful burrow
#

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 ?

weak maple
#

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

woeful burrow
#

but authorization code is available

#

on charge object

#

for the others I have to generate myself

#

right

#

?

weak maple
void fieldBOT
woeful burrow
#

what about card_present

#

?

#

because when we make a purchase with tap to pay

#

the payment-method is

#

card_present

weak maple
#

As explained, authorization_code is not available for those payments no

woeful burrow
#

ok

#

thanks

#

a million

serene mesa
#

Hi ๐Ÿ‘‹

I'm stepping in as my colleague needs to go soon

#

What is the current state of your question?

woeful burrow
#

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

serene mesa
#

Yes that is the recommended approach for this scenario. I'm glad my colleague was able to answer your questions

woeful burrow
#

thank you and your colleagues

serene mesa
#

We're happy to help ๐Ÿ™‚