#nayeemtby_error
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/1384210848079151264
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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
You should only need to use card_present as a payment method type
okay, trying to do it again.
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.
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
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
Or use the simulate TTP button when running in debug mode
Is that some kind of element provided by stripe?
Or do we just use simulated reader behind it?
You specify whether or not this is simulated in your local reader discovery configuration
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.
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.
okay then, we'll try to setup with the live account and try a live transaction
I hope it goes well for you ๐
Just to clarify one thing, we are using release build in test mode and that is supposed to show Card not supported message right?