#Andsis

1 messages · Page 1 of 1 (latest)

unreal gateBOT
void junco
#

Hi we archive threads after they're inactive

#

What was your question?

winter kestrel
#

Oh I see let me jsut copy and paste one momnet

#

Hi dev-help, we are a Canadian company hoping to roll out terminals. We got our terminal and are almost finished the integration with our API however when I added interac as per the documentation https://stripe.com/docs/terminal/payments/regional?integration-country=CA&terminal-sdk-platform=js#interac-payments I get an error (specifically when I add "'interac_present'" to payment_method_types: ['card_present', 'interac_present'] I get an error:

"message": "Payment intent must accept an in-person payment method."
"type": "invalid_request_error"

everything is up and running with credit cards and working perfectly. I add one line to enable interac and nothing works. Does anyone have any ideas?

an example requestID is here https://dashboard.stripe.com/test/logs/req_knBina2x9yaoTc?t=1670004434 (req_knBina2x9yaoTc)

Learn about regional considerations for integrating Terminal in different countries.

#

The person asked for an example requestID so I've edited the post to include one

void junco
#

Ok thank you

#

Let me take a look

winter kestrel
#

great thanks

void junco
#

You're using the server driven integration?

winter kestrel
#

yes

#

this is what my payment intent looks like
let paymentIntentInput = {
currency: 'cad',
payment_method_types: ['card_present', 'interac_present'],
capture_method: 'automatic',
amount: amount,
metadata: {visitId: body.visitId},
}

void junco
#

Gotcha. Let me see if I can pull in a colleague here

winter kestrel
#

great thanks

brave sparrow
#

hello, give me a moment, looking

winter kestrel
#

sure thanks

brave sparrow
#

sorry still been looking, one thing to try

winter kestrel
#

okay

brave sparrow
#

can you change capture_method: 'manual' instead of automatic and try again?

winter kestrel
#

I've tried that before it doesn't work

#

will do it again however

brave sparrow
#

cause with Terminal, all your PaymentIntents have to be manual capture

#

so you do need that regardless

winter kestrel
#

hmm I've had this working without manual capture

#

I've got it working in production no issues with automatic capture

brave sparrow
#

looking

#

I've got it working in production no issues with automatic capture
a bit surprised, AFAIK Terminal has always required manual capture

winter kestrel
#

also my code seems to work with both (when I remove the interac payment method) so that doesn't seem to be the issue

brave sparrow
#

oh wow TIL! thanks for sharing that, wasn't aware that our integration/docs was updated for automatic capture too

#

gotcha, yeah looking, AFAIK Interac should just work with server driven so still looking

winter kestrel
#

all good, would it be possible for me to give you my e-mail or another method for me to follow up on this?

#

This is my first time on discord and I'm afraid of getting this thread locked again.

#

I know Canada was in beta for terminal and server side integration so I thought it might be that but my account rep confirmed I'm in the beta

brave sparrow
#

all good, would it be possible for me to give you my e-mail or another method for me to follow up on this?
you can write in to Support at https://support.stripe.com/contact and let them know this is a continuation of this Discord conversation (with a link to this thread) and you'll get in touch with the right team over email

winter kestrel
#

great thanks!

brave sparrow
#

are you still hanging around here? Or writing in? just checking

winter kestrel
#

umm I'm going to take off thanks. I wrote in

brave sparrow
#

gotcha, we'll answer you over email then, thanks!

winter kestrel
#

Thanks for the help!

brave sparrow
#

ah