#mangell03_code
1 messages ยท Page 1 of 1 (latest)
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.
- mangell_terminal-node, 2 days ago, 9 messages
- mangell03_code, 6 days ago, 79 messages
๐ 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/1242103179659706400
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ based on what you shared, seems like you're encountering an error when trying to process a payment intent as part of your server-driven terminal integration. Seeing if anything stands out to me based on what was shared.
It looks like you're trying to use a reader that is registered to one Stripe Account to process a Payment Intent from another Stripe Account. That isn't supported.
I only have one account, one location, and one simulated reader. I have all of the IDs in the code:
`const stripe = require("stripe")("sk_test_51O8qkAEPuIFxKCqtwV78O2mjDNip3mlvWq89T2YKSzvllbFiKPbgGlPwk6v2LCfXJKgvyqXVVh61u9WDWppVPnvp00Jza03hN1");
const location = await stripe.terminal.locations.retrieve('tml_FiuXCQpknBASRm');
const reader = await stripe.terminal.readers.retrieve('tmr_FDOt2wlRZEdpd7');
`
const paymentIntent = await stripe.paymentIntents.create( { amount: 1000, currency: 'usd', payment_method_types: ['card_present'], capture_method: 'manual' }
reader = await stripe.terminal.readers.processPaymentIntent(reader.id,intent.id);