#Bernhardt

1 messages · Page 1 of 1 (latest)

summer elmBOT
inland marlin
hollow adder
#

Thanks for reaching out. That is more if you want to setup an iphone to act as a terminal. I Have a BBPOS terminal already just trying to accept Apple and Google pay on it.

inland marlin
#

Ah, I'm sorry. I totally just copy/pasted and ran. Let me circle back

#

So what happens when you tap a phone that has Google/Apple pay functionality?

#

Do you get an error in console?

hollow adder
#

So I get card declined with both Apple and Google pay not much other info.

#

So I assumed it must be a setup thing as it works when paying at any store.

tame cedar
#

Is this in payment or setup mode?

hollow adder
#

Using a setup intent.

#

Not a payment intent.

tame cedar
#

Ok, I don't believe that ApplePay is supported on SetupIntents. I ran into the same issue. I'm not sure about GooglePay but might be the same problem. Let me see if I can find where I read that.

hollow adder
#

Oh nice do you know if they work on payment intents?

tame cedar
#

You can’t save mobile wallets (for example, Apple Pay or Google Pay) for later reuse while transacting.

#

Yes, I know they work on payment intents.

hollow adder
#

Might just need to sweak my code a bit to rather do payment intents. Is there a way to see if its a mobile wallet and handle it differently?

inland marlin
hollow adder
#

I currently set it up in Australia which is in Beta where can I see a list of supported countries?

tame cedar
#

I think you have to start the Terminal session with a PaymentIntent or a SetupIntent, so not sure how you could handle it on the fly. Curious why you would want to handle it differently if a PaymentIntent worked fine for one option.

hollow adder
#

You are right you do need to start it before the terminal session. The requirement was to save the customers card for later use hence I used a setup intent. So it is written a bit weird in sense that it saves the card then does the payment with the saved card on Stripe.

tame cedar
#

Oh I see. Just so you know, you can save the card on a PaymentIntent as well. But I realize you might have some unique requirements.

hollow adder
#

Switching to a payment intent to do a once off transaction might be the right way but when doing subscriptions over long terms and not immediately charging them I rather used a Setup Intent.

#

I think this thread is closed thanks @tame cedar and @inland marlin

tame cedar
hollow adder
#

Just saw this

tame cedar
#

I could be wrong but I don't think that applies to Terminal.