ios - Apple Pay crash with on PKPaymentAuthorizationControllerExportedObject authorizationDidFinishWithError -
when use apple pay stripe's ios sdk, crashes on following method after payment?
-[pkpaymentauthorizationcontrollerexportedobject authorizationdidfinishwitherror:] + 76 what doing wrong?
i had same crash. apple pay work first time on second try crash , reproduce every time. problem in delegate method didauthorizepayment doing backend processing , when successful calling completion block completion(pkpaymentauthorizationstatus.success) , dismissing view controller.
instead moved dismiss code didauthorizepayment method 'didfinish' method (which required me hold onto state pass receipt page). once did done button shown on apple pay controller , crashes went away.
Comments
Post a Comment