#mauliks_code
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/1433077361699590146
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hey there, can you please explain more about what you're trying to test and how this error arises?
I am just trying to accept money and using terminal simulator for iOS
let me know what else info I can provide ?
Are you specifically trying to test PIN entry, or is this coming up unexpectedly for you?
unexpectedly only
Your logs say
collectPaymentMethod succeeded
So are you getting a payment method then? Can you share an example payment intent?
how to get payment intent ? from the app log?
Or your server, wherever you're creating the intent you use with terminal
fetchConnectionToken you mean?
{
object = "terminal.connection_token";
secret = "pst_test_YWNjdF8xT2xRM0NIWGxmaWF5cWFaLGV3MUpYbjRBRHVuMkNZb3l6Z3NxdWdLa2EwcXllZkg_00jGd6fewL";
}
is there anything changed?
It sounds like you're trying to discover/connect to an actual reader via bluetooth, not the simulator
yes I got it and now showing simulator list of readers
Ok and then you can connect to one of those
yes
now trying to get intent of transaction
<SCPPaymentIntentParameters: 0x600003059560; amount = 175; currency = usd; metadata = (null); onBehalfOf = (null); stripeDescription = CIA - Payment by Aimee Radford & ID - 18713; statementDescriptor = (null); statementDescriptorSuffix = (null); receiptEmail = (null); applicationFeeAmount = (null); transferGroup = (null); transferDataDestination = (null); setupFutureUsage = (null); captureMethod = automatic>
is this what you mean by intent?
Either a setup intent or payment intent id: seti_1234 or pi_1234 etc
<SCPConfirmPaymentIntentError: 0x6000018b4440; code = 6000; message = Allowable number of PIN tries exceeded. In testmode, using a physical test card with designated amount ending values produce specific decline responses. See https://stripe.com/docs/terminal/references/testing#physical-test-cards for details.; requestId = req_76rA6m4k2D6BiJ; requestError = 0x600000d91e30; paymentIntent = pi_3SNZbhHXlfiayqaZ16oPDLyL: 0x600003b148c0>
There error about PIN entry you indicated originally relates to these special values for test payments that trigger various flows: https://docs.stripe.com/terminal/references/testing#physical-test-cards
As linked in the error
75 Payment is declined with an pin_try_exceeded code.
You used:
amount = 175
This error is expected because of the amount you're using
If you are not specifically trying to test this error, you need to use a different amount, like amount = 200
amount = 175 is the issue here?
Yep, use different items/amounts
done ! ๐
As the doc linked in the error shows, several different amount ending values trigger specific errors
this was unexpected thing
If you're just trying to test happy path flows without errors, i suggest using all amount as round whole dollars, eg 100, 1000, 4200 etc
understood
that way no matter what comibnation of items you pick will also be whole dollars and not trigger these errors unexpectedly
thanks a lot !
NP!
humans are always ahead of AI !