#Ronit

1 messages · Page 1 of 1 (latest)

tall badgeBOT
golden pewter
#

👋 happy to help

#

do you mean in test mode?

silent forge
#

yes in test mode

#

i have M2 reader for test but don't have any physical card which is expired

golden pewter
#

this is how you should test physical cards with terminal

silent forge
#

i did checked this documentation but i am following the different approch
i am using receive pamyent intent then directly swipe card and get response and send back to backend so there is no any card input fields where i can insert and check

golden pewter
#

it's not a different approach

#

you create a PI, based on the scenario you want to run the amount of that PI should end with the 2 decimals stated on the page

#

so something like 5000 will get approved

#

where as 5001 will get declined

#

and so on

silent forge
#

can i do check using test card for this expire card test case?

golden pewter
#

there isn't really a test card for this unfortunately

silent forge
golden pewter
#

let me know if you need any more help

silent forge
#

thanks for help

#

can you help me in SCPProcesspayment error related to which function

golden pewter
#

would you mind sharing more details?

silent forge
#

this message is comes from stripe

golden pewter
#

would you mind sharing the request ID? req_xxx

silent forge
#

yes

#

req_SALuuBV8preifT

golden pewter
#

taking a look

#

this happened because there's an invalid expiry year on the card

silent forge
#

yes this error i want to get it in function where i am getting it does it shows in Terminal.shared.processPayment(collectPaymentMethodPaymentIntent)

mint elk
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

silent forge
#

ok

mint elk
silent forge
#

i want to trace the error so which function is producing can you help me in it?

mint elk
#

It seems like this popup is produced by your code and not Stripe SDK, so you are much better equipped to answer this.

#

It seems like the code that confirms the PaymentIntent.

#

Could you please share your code that's related to this?

silent forge
#

yes please let me check it

#

this information comes up in the payment intent for card related error i can see it now in function

#

thanks for help

mint elk
#

Happy to help!