#dmor_terminal-s700

1 messages ¡ Page 1 of 1 (latest)

brittle joltBOT
#

👋 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. Thank you for your patience!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

🔗 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/1215075913285238814

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

craggy shellBOT
hearty helm
#

@remote merlin hello1 I'm going to need more specific details about your exact integration and what is not working

remote merlin
#

Sure thing, what other details would be helpful?

hearty helm
#

Your exact integration path. There are many ways to integrate Stripe. Your exact code where you try to collect the payment and what is or isn't working

remote merlin
#

This is how we create the PaymentIntent object

#

This is what it looks like when created through our UI app

hearty helm
#

Okay so that's the PI creation. What did you do next? what exact end to end docs are you following?

remote merlin
hearty helm
#

that's just a picture of a response

remote merlin
#

We then use the SendPaymentIntentToReader endpoint from stripe to send over the PaymentIntent to the Reader by providing the paymentIntentId and the appropriate readerId. This is the response from that call

#

We then try to fetch the reader object to check it's status and here is the result from that call

hearty helm
#

Sorry really struggling to follow with pictures of JSON without much context. What does "we use the SendPaymentIntentToReader" mean? Can you share the exact code you are using in real text as a developer here so I can read it and also the exact doc you are following?

remote merlin
#

sure, give me a sec

hearty helm
#

thank you!

#

also share the exact tmr_123 and pi_123 as text, that will allow me to look at those

#

dmor_terminal-s700

remote merlin
hearty helm
#

yeah you must have some of the sub-tabs selected, can you tell me exactly which one(s)?

remote merlin
#

the server-driven tab

hearty helm
#

SendPaymentIntentToReader doesn't exist anywhere on that page for me

remote merlin
#

We have a dotnet core backend wrapped around the stripe sdk

hearty helm
#

Gotcha. Can I ask you to clarify the exact Stripe-related calls so that I can help you?

remote merlin
#

I believe it is this POST
/v1/terminal/readers/:id/process_payment_intent

hearty helm
#

perfect so you call that API and then you wait for the Reader to be ready and you insert the card and then what?

remote merlin
#

We have a test card we use when the reader prompts the user to insert payment method

#

We then try to fetch the reader via the api to check the status using this endpoint in the stripe sdk

GET
/v1/terminal/readers/:id

#

with id = "tmr_FdmLMgaUXzKXKf"

remote merlin
hearty helm
#

Can I get the PaymentIntent id too?

remote merlin
#

PaymentIntentId = "pi_3OrTvVR1grjpLK0Q2lUMKju9"

hearty helm
#

Do you have multiple test cards or only one?

remote merlin
#

I believe just 1. Let me verify that real quick

hearty helm
#

can you try with a real card

#

it's in Test mode so you won't be charged, you'll get an error that it's not a test card. It'll allow us to know if it's a problem with your test card

remote merlin
#

This is the response that came from the reader:

"Card declined, try a different form of payment"

hearty helm
#

okay so the reader works fine, looks to be a defective test card

remote merlin
#

using tap to pay

hearty helm
#

so you'll have to contact support to get a replacement test card I think

remote merlin
#

Sounds good. We'll do that and try with a new test card. I'll comment here with updates once we have that in place

hearty helm
#

I will fully archive this thread so it'll be read-only after that. We don't really need an update and once you talk to our support team they can help you further 1:1.
You're totally welcome to come back if you have a new question in the future though!

remote merlin
#

Ah ok, so just make another post in the same way if i need more help. Sounds good, thank you