#francis-morissette_api
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/1436354564897902808
đ 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.
- francis-morissette_api, 15 hours ago, 10 messages
Hi there, looking at this now. Haven't seen this error before, will do some digging
Thank you!
Are you using a simulated interac test card or an Interac physical test card?
Still looking into this. The one thing I noticed is that this request to make the payment intent
https://dashboard.stripe.com/acct_19i8vEKnwPvrPUT4/test/logs/req_FabfAK67ViKyZV
was made a little differently than the request to confirm it
https://dashboard.stripe.com/acct_19i8vEKnwPvrPUT4/test/logs/req_H62R9XEADzgPz7
The confirm request included your API key in the Stripe-Account header. It seems like this is unintentional, you would only do this if you were making requests for a Connected account. I don't think this would cause the request to fail, but it's something you should fix in any case
Sure. It's a test application I made to send simulated card payments, so it will not be used in production, but I can remove it nonetheless
I have just found the issue: I was using card_present instead of interac_present in the PresentPaymentMethod to call the simulated reader service
Changed from what is commented in the following code:
var service = new Stripe.TestHelpers.Terminal.ReaderService();
service.PresentPaymentMethod(((Reader)cmbReaders.SelectedItem).Id, new Stripe.TestHelpers.Terminal.ReaderPresentPaymentMethodOptions
{
InteracPresent = new Stripe.TestHelpers.Terminal.ReaderInteracPresentOptions
{
Number = txtCardNumber.Text
},
Type = "interac_present",
//CardPresent = new Stripe.TestHelpers.Terminal.ReaderCardPresentOptions
//{
// Number = txtCardNumber.Text
//},
//Type = "card_present"
});
Thank you for your help!
Ah, that makes sense! I saw you used interac_present properly when creating the payment intent, nice find for the PresentPaymentMethod call!