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

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -