Adyen / adyen-ios

Adyen iOS Drop-in and Components
https://docs.adyen.com/checkout/ios
MIT License
151 stars 122 forks source link

[NEED ASSIST] Apple pay doesn't return #706

Closed geterkan closed 3 years ago

geterkan commented 3 years ago

Hey,

I'm trying to implement Apple pay with Adyen but have a problem.

Describe the challenge Tried payment with ApplePayComponent and authorized with faceid successfully, but it doesn't return or trigger anything just shows not complete error after 10-15 sec.

Same with these: https://github.com/stripe/stripe-ios/issues/1467 https://developer.apple.com/forums/thread/91837 https://community.shopify.com/c/shopify-discussions/apple-pay-payment-won-t-complete/m-p/807508

What steps did you take? Regular Apple pay payment with ApplePayComponent

What is the expected behavior / API ? Should trigger PaymentComponentDelegate.didSubmit callback after authorization via faceid/touchid.

Adyen SDK version : 4.3

Thanks for your help in advance, Erkan

descorp commented 3 years ago

Hey @geterkan

Have you tried with different devices? Can you make payment with those devices on ApplePay Demo page ?

Is PaymentComponent.didSubmit triggered? Do you retain reference to en instance of ApplePayComponent ?

geterkan commented 3 years ago

Thank you for quick response @descorp

Then I will try another device first.

geterkan commented 3 years ago

Yeah it was because of the device. I just reset the device and it is working now. Thanks for your reply again.

descorp commented 3 years ago

Thanks for sharing @geterkan 💚

We had similar situation with one of the test devices. Indeed, factory reset did the job for us as well.