cybersource / cybersource-ios-sdk Goto Github PK
View Code? Open in Web Editor NEWThe CyberSource InApp SDK enables developers to simply and securely incorporate mobile payments into their iOS applications.
License: Other
The CyberSource InApp SDK enables developers to simply and securely incorporate mobile payments into their iOS applications.
License: Other
iOS SDK Version: 1.0.3
iOS Version: 13.2.2
When executing this (given that self
conforms to InAppSDKGatewayDelegate
):
let merchant = InAppSDKMerchant()
// Fill merchant object with valid data
let card = InAppSDKTransactionObject()
// Fill card object with valid data
let transaction = InAppSDKTransactionObject()
// Fill transaction object with previous valid data
let success = InAppSDKGateway.sharedInstance().performDataEncryption(transaction, with: self)
The expected behavior would be:
success
is true
encryptPaymentDataServiceFinished(with:withError:)
is called, with the expected parameters.If performDataEncryption
is not executed in the main thread, this happens:
success
is true
encryptPaymentDataServiceFinished(with:withError:)
is never called.Hello guys, do you have any plan to do support for iOS 13?
Your sdk doesn't work property on iOS 13.
Hi,
I am getting below error:
Encrypt Service Response:
Accepted : No
Error : Unknown error. (
Security Data : UsernameToken authentication failed.
)
Any suggestions?
Issue:
ld: building for iOS Simulator, but linking in dylib built for iOS, file '[REDACTED]/Pods/cybersource-ios-sdk/Frameworks/InAppSDK.framework/InAppSDK' for architecture arm64
InAppSDK: Mach-O universal binary with 4 architectures: [i386:Mach-O dynamically linked shared library i386] [x86_64:Mach-O 64-bit dynamically linked shared library x86_64] [arm_v7:Mach-O dynamically linked shared library arm_v7] [arm64]
InAppSDK (for architecture i386): Mach-O dynamically linked shared library i386
InAppSDK (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
InAppSDK (for architecture armv7): Mach-O dynamically linked shared library arm_v7
InAppSDK (for architecture arm64): Mach-O 64-bit dynamically linked shared library arm64
Xcode 13.1 (13A1030d)
machine: Macbook Pro 16" M1 Max
macOS version: Monterey 12.0.1
cybersource-ios-sdk Cocoapod version: 1.0.3
I assume that the compiled binary doesn't include arm64 simulator code for iOS Simulators running on M1 chips.
Workaround: start Xcode in Rosetta 2
Hi there,
I'm trying to add your SDK to our project via cocoapod. But after run pod and build the project, app crash and the log is:
dyld: Library not loaded: @rpath/InAppSDK.framework/InAppSDK
Reason: image not found
Please help!
Thanks!
Hi
The library is currently built without Bitcode support introduced more than a year ago by Apple.
This prevents us from delivering our application with this feature also.
When will the library support Bitcode?
Hello
Can we get updated SDK for swift 5. As we can see now it is in Objective-C
Hi,
Your docs mention that it is possible to create a long term payment token by passing the encrypted card data back to my server. I was able to generate the encrypted blob and pass it back to my server but am not sure what services to use after that in order to generate the long term token.
Could you please direct me to the right docs or provide some examples.
Thanks
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.