liqpay / sdk-ios Goto Github PK
View Code? Open in Web Editor NEWLiqPay IOS sdk
LiqPay IOS sdk
- (NSString *)oneClickPayMerchantID {
NSLog(@"%s", __PRETTY_FUNCTION__);
NSString *merchantID = @"297100146db1ee6c88afd892cdcf2d10";
return merchantID;
}
Error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSString stringWithUTF8String:]: NULL cString'
*** First throw call stack:
(0x183b8022c 0x1958540e4 0x183b8016c 0x18498e5c8 0x1005a7900 0x1005a70fc 0x18353fb14 0x184a671c4 0x1849b8604 0x1849a81cc 0x184a69f28 0x100facf94 0x100fb1c28 0x183b37544 0x183b355ec 0x183a60f74 0x18d4bb6fc 0x188662d94 0x1000ae198 0x195efea08)
libc++abi.dylib: terminating with uncaught exception of type NSException
I try convert string to NSUTF8StringEncoding, and have same error.
It seems that, for now this feature isn't supported in iOS SDK. If it is, please figure out a way to do it.
warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/LiqpayMob.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/WebVC.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/NSURLSession+syncAsyncRequest.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/LiqPayUtil.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/PBReachability.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/SDWebView.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/LiqPayRequest.o unable to open object file: No such file or directory warning: (x86_64) /Users/sergey/Library/Developer/Xcode/DerivedData/LiqpayMob-doihcvdxgkyhzjefboczetrtbmvd/Build/Intermediates.noindex/LiqpayMob.build/Debug-iphonesimulator/LiqpayMob.build/Objects-normal/x86_64/SDProgressHUD.o unable to open object file: No such file or directory
when use - liqPay.api("checkout", params: data, privateKey: privateKey, delegate: self)
response is
{
"result": "ok",
"status": "error",
"err_code": "err_action"
}
How can i get checkout url using liqpay.api(
or in objc
In the latest version of SDK, the required method "navigationController" is added to LiqPayCallBack. On Swift, overriding this method leads to an error: "Method 'navigationController()' with Objective-C selector 'navigationController' conflicts with getter for 'navigationController' from superclass 'UIViewController' with the same Objective-C selector". On Objective-C works fine
When I am trying to make request with "auth" path in callBack onResponseSuccess returns response:
"{"result":"ok","status":"error","err_code":"err_access","err_description":"You don't have permission for this action"}"
Request:
liqPay.api("auth", params: ["action": "auth",
"version": 3,
"public_key": publicKey,
"description": "text",
"order_id": 323,
"language": "uk"], privateKey: privateKey, delegate: self)
What is wrong?
After submitting an application that uses the Liqpay SDK to the App Store Connect, I received an e-mail from Apple that contains this warning:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
Since the application codebase does not use any UIWebView APIs, I have analyzed the Liqpay SDK with nm command and I have found out that it uses these deprecated APIs.
It must be fixed in order to avoid rejection by Apple in the future.
Вік цієї бібліотеки вже 4 роки.
Невже немає оновленої бібліотеки?
Документації доступної взагалі немає - посилання з https://www.liqpay.ua/documentation/sdk веде на github, а з github знову на той самий сайт.
Чи є правильне посилання на документацію роботи з iOS SDK?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.