#nayeemtby_error

1 messages ยท Page 1 of 1 (latest)

gilded shardBOT
#

๐Ÿ‘‹ 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/1384210848079151264

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

glass isle
#
      const { paymentIntent, error: paymentIntentCreationError } =
        await this.stripeTerminal.createPaymentIntent({
          amount: Math.round(totalAmount * 100),
          currency: 'cad',
          captureMethod: 'automatic',
          paymentMethodTypes: ['card', 'card_present'],
          metadata: {
            description: this.state.description,
          },
        });

This is the snippet for creating the payment intent

fossil bluff
#

You should only need to use card_present as a payment method type

glass isle
#

okay, trying to do it again.

fossil bluff
#

But also, to be clear, are you running in testmode?

#

Because the Test mode tap to pay UI has a big button (that I think looks like a banner) to simulate tap to pay

#

Your screen looks more like you are using Live mode, in which case the Card not supported error is what will be thrown when you attempt to use the Stripe test card.

glass isle
#

We are using release build with a stripe sandbox account. We tried debug build but it says INTEGRATION_ERROR.TAP_TO_PAY_DEBUG_NOT_SUPPORTED

fossil bluff
#

Yes you cannot accept payments while in debug mode

#

A Sandbox account is in Test mode by default

#

So I don't think you will be able to test with real cards

glass isle
#

so we just have to try a real account and with real card basically?

#

for tap to pay

fossil bluff
#

Or use the simulate TTP button when running in debug mode

glass isle
#

Is that some kind of element provided by stripe?

#

Or do we just use simulated reader behind it?

fossil bluff
#

You specify whether or not this is simulated in your local reader discovery configuration

glass isle
#

okay understood, we have another problem with apple.
Apple wants a demo video of tap to pay being in use for us to get Distribution provisioning profile for Tap to pay. But stripe is not allowing tap to pay in debug mode with error INTEGRATION_ERROR.TAP_TO_PAY_DEBUG_NOT_SUPPORTED. So do we just talk to apple about it to relax the requirements a bit? Can you give some advice if you received similar questions before.

fossil bluff
#

Unfortunately, that isn't something I have ever heard about. You could use a live card and charge yourself $1 and refund it once you're done.

glass isle
#

okay then, we'll try to setup with the live account and try a live transaction

gilded shardBOT
fossil bluff
#

I hope it goes well for you ๐Ÿ™‚

glass isle
tawny kettle
#

Hi there,
I am taking over from snufkin who had to step away.

#

Quickly catching up on your thread. Give me one moment