paymaya / paymaya-ios-sdk Goto Github PK
View Code? Open in Web Editor NEWiOS wrapper for PayMaya Payments API. Accept payments on your mobile app.
License: MIT License
iOS wrapper for PayMaya Payments API. Accept payments on your mobile app.
License: MIT License
Error log:
2017-08-30 23:35:28.875209+0800 PayMaya SDK[11336:3240083] [DYMTLInitPlatform] platform initialization successful 2017-08-30 23:35:29.757894+0800 PayMaya SDK[11336:3240091] Error: Error Domain=com.backend.error.payments Code=400 "bad request" UserInfo={NSLocalizedDescription=bad request} 2017-08-30 23:35:39.004006+0800 PayMaya SDK[11336:3239942] *** -[NSKeyedUnarchiver initForReadingWithData:]: data is NULL 2017-08-30 23:35:39.256060+0800 PayMaya SDK[11336:3240151] Error: Error Domain=com.backend.error.payments Code=400 "bad request" UserInfo={NSLocalizedDescription=bad request} 2017-08-30 23:35:39.260132+0800 PayMaya SDK[11336:3240152] Error: Error Domain=com.backend.error.payments Code=400 "bad request" UserInfo={NSLocalizedDescription=bad request} 2017-08-30 23:35:40.424797+0800 PayMaya SDK[11336:3239942] *** -[NSKeyedUnarchiver initForReadingWithData:]: data is NULL 2017-08-30 23:35:42.130497+0800 PayMaya SDK[11336:3240144] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]' *** First throw call stack: (0x18c036fe0 0x18aa98538 0x18bf1d9b4 0x18bf1d824 0x1000bc5b4 0x1000c6080 0x1000c4fd0 0x10053e98c 0x1005482f8 0x18c64134c 0x18c659048 0x18cb06854 0x18ca4b7b0 0x18ca3bb68 0x18cb08bf0 0x100579a10 0x1005872e8 0x10057d634 0x100589630 0x10058939c 0x18b0f7100 0x18b0f6cac) libc++abi.dylib: terminating with uncaught exception of type NSException
Unable to instantiate PMSDKCheckoutRedirectURL
type and PMSDKCheckoutInformation
type has no member redirectUrl
(
PMSDKCheckoutInformation.redirectUrl
is also an issue) tried on both Objective-C
and Swift 2.0
I need to integrate this repo to my app, but I'm having hard time understanding their documentation.. can someone help?
[access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
Error Domain=com.paymaya.sdk.error Code=1 "(null)" UserInfo={NSUnderlyingError=0x600000a3b0c0 {Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo={NSUnderlyingError=0x600000a5d440 {Error Domain=kCFErrorDomainCFNetwork Code=-1002 "(null)"}, NSErrorFailingURLStringKey=(null)/v1/payment-tokens, NSErrorFailingURLKey=(null)/v1/payment-tokens, NSLocalizedDescription=unsupported URL}}}
i set payment api
PayMayaSDK.sharedInstance()?
.setPaymentsAPIKey("pk-cP5SfWiULsViVtuswhEKCkuanfXdEkdF6mIRXDnH6A7", for: .sandbox)
paymaya version: 0.3.9
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.