#aaparth-ios
1 messages · Page 1 of 1 (latest)
handlenextAction
let paymentHandler = STPPaymentHandler.shared()
paymentHandler.handleNextAction(forPayment: obj.clientSecret, with: strongSelf, returnURL: nil) { (status, paymentIntent, handleActionError) in
using this method when we receive a clientSecret along with require_action = 1
Have you tried using STPPaymentHandler.shared().confirmPayment(...) instead?
https://stripe.dev/stripe-ios/docs/Classes/STPPaymentHandler.html#/c:@M@Stripe@objc(cs)STPPaymentHandler(im)confirmPayment:withAuthenticationContext:completion:
nope
let me check
Error Domain=com.stripe.lib Code=50 "You have exceeded the maximum number of declines on this card in the last 24 hour period.
getting this error now
Do you have a request ID (req_xxx)?
I have client secret, will that work ?
Yes that should work.
pi_3KOK0pDwblwKLRf71v3JMR4u_secret_PwXG4cya5HRiRleFBt9HZkKeP
@wheat plover
you there?
I need to step out. My colleague ynnoj will help you soon.
Will be with you shortly 🙂
okay
Can you share the ID of the Payment Intent?
Also, I'm not sure what the expectation is here. The error is pretty descriptive! The bank is blocking charges on that card as you've hit a decline limit
okay
I have one more payment with the issue
pi_3KO3IVDwblwKLRf70tYecdEZ
can you check with this one @sharp turtle
What's the issue?
payment blocked by stripe
Yup, authentication failed on this original PI: https://dashboard.stripe.com/payments/pi_3K2tMeDwblwKLRf71HEvJhQh
Decline code: revocation_of_authorization (https://stripe.com/docs/declines/codes)
okay
So the bank is blocking charges on the card, for whatever reason. We don't know why
okay