Closed letrongtriet closed 5 years ago
@letrongtriet thanks for raising this, I was literally just having this issue and was about to raise it myself.
The crash seems to be happening in STPPaymentHandler.m
L:473
for me
I am attempting to use the following card: 4000000000003220
Digging a little deeper and it looks like it could be the object that is returned from:
STDSAuthenticationResponseFromJSON
being called in:
STP3DS2AuthenticateResponse.h
on line:
32
The authenticationResponseJSON
that it is attempting to use to create the TVg
object does, however, contain acsChallengeMandated = Y;
Thanks for reporting this!
I haven't been able to reproduce this crash so far. Are you able to breakpoint on line 473 in STPPaymentHandler
and inspect the aRes
variable there? I'm wondering what it looks like in the debugger, and if it responds to isChallengeMandated
.
@yuki-stripe Please see the attachment below for all information
NOTE:
4000 0000 0000 3253
4242 4242 4242 4242
Thanks @letrongtriet! We've identified an issue with our code obfuscation, and are working on a fix.
@letrongtriet @DrTomBates This should be fixed on 5cfa3dc83e25706a0a5f4a03bcac8805a9467041 - you can point your Podfile to that commit until the next version is released. Please let me know if that resolves this issue!
@yuki-stripe It did fix the problem 👍 Thanks for you super fast support.
@yuki-stripe This looks like it has solved the issue for me as well, thanks!
@yuki-stripe It didn't help me...
@denglei022 Can you make a new issue with your crash and details?
The fix for this is in v16.0.1.
Thanks.That's OK.I used the new version
发自我的iPhone
------------------ Original ------------------ From: Yuki Tokuhiro notifications@github.com Date: Fri,Jul 26,2019 7:00 AM To: stripe/stripe-ios stripe-ios@noreply.github.com Cc: denglei022 573505513@qq.com, Mention mention@noreply.github.com Subject: Re: [stripe/stripe-ios] STPPaymentHandler crashed when confirm PaymentIntent (automatic flow) (#1242)
Closed #1242.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Summary
App crashed right away when try to confirm a payment intent (created by Backend)
Card used:
4000000000003253
Code to reproduce
iOS version
12.3.1
Installation method
Cocoapods
SDK version
16.0.0
Other information
Crash log:
Last step before crash:
import "STPDispatchFunctions.h"