adyen-ios icon indicating copy to clipboard operation
adyen-ios copied to clipboard

[Need Assist] OC Project integrate Adyen SDK

Open ZengYao0206 opened this issue 9 months ago • 10 comments

It seems very unfriendly for OC project to integrate this Adyen SDK (swift), do you have any suggests?

ZengYao0206 avatar Dec 01 '23 02:12 ZengYao0206

Hey @ZengYao0206 If you need to use our SDK in your Objective C project, you can create a swift class inheriting NSObject, and access our SDK in this class. Then use this new class in your Objective C code.

erenbesel avatar Dec 01 '23 10:12 erenbesel

Hey @ZengYao0206 If you need to use our SDK in your Objective C project, you can create a swift class inheriting NSObject, and access our SDK in this class. Then use this new class in your Objective C code.

hello, erenbesel:

I pod 'Adyen' to my OC project, and create a swift as a bridge (AdyenManager.swift), and access adyen api in this class. I do it according to README, make DropInComponent to be a propertys, But after I tap "cancel", then it was still nil, I want to know what I did wrong? thanks! Uploading 2023.jpg…

截屏2023-12-07 20 10 59 截屏2023-12-07 20 11 58

ZengYao0206 avatar Dec 07 '23 12:12 ZengYao0206

Uploading 截屏2023-12-07 20.24.50.png…

ZengYao0206 avatar Dec 07 '23 12:12 ZengYao0206

It could be that the AdyenManager that holds dropInComponent as a property is not stored. So when it is gone, dropin property will also be nil.

Unfortunately we can't debug your code but you can try to debug your classes like AdyenManager

erenbesel avatar Dec 07 '23 13:12 erenbesel

It could be that the AdyenManager that holds dropInComponent as a property is not stored. So when it is gone, dropin property will also be nil.

Unfortunately we can't debug your code but you can try to debug your classes like AdyenManager

hi, erenbesel: The previous problem has been solved。 but now, when I tap "KakaoPay", it respond me "Safari Browser can't open this web link, for it's invalid". I want know what it mean? and how to solve it ? many thanks !

below SCREENSHOTS WechatIMG60012

WechatIMG60010

WechatIMG60011

ZengYao0206 avatar Dec 13 '23 07:12 ZengYao0206

截屏2023-12-13 14 19 24

ZengYao0206 avatar Dec 13 '23 07:12 ZengYao0206

@ZengYao0206 seems you don't have the KakaoPay app in your device.

erenbesel avatar Dec 14 '23 10:12 erenbesel

@erenbesel I install KakaoPay app in my iPhone, it works same as before.

ZengYao0206 avatar Dec 18 '23 01:12 ZengYao0206

WechatIMG60208

ZengYao0206 avatar Dec 18 '23 05:12 ZengYao0206

Please refer to our docs for more info and contact our support if needed https://docs.adyen.com/payment-methods/kakaopay/ios-drop-in/#test-and-go-live

erenbesel avatar Dec 18 '23 09:12 erenbesel