Giter Site home page Giter Site logo

cybersource / cybersource-ios-sdk Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 1.0 3.86 MB

The CyberSource InApp SDK enables developers to simply and securely incorporate mobile payments into their iOS applications.

License: Other

Objective-C 99.43% Ruby 0.57%
sdk cybersource cybersource-ios-sdk payment in-app purchase-api visa payments payment-gateway payment-integration

cybersource-ios-sdk's People

Contributors

brianmc avatar drmontgomery avatar gnongsie avatar readmecritic avatar senthilkumarperiyasamy avatar zezhong-li avatar zezhongli avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ericchenwws

cybersource-ios-sdk's Issues

encryptPaymentDataServiceFinished(::) is not called after encrypting card data

iOS SDK Version: 1.0.3
iOS Version: 13.2.2

Expected behavior:

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.

Current behavior:

If performDataEncryption is not executed in the main thread, this happens:

  • success is true
  • encryptPaymentDataServiceFinished(with:withError:) is never called.

iOS 13 update?

Hello guys, do you have any plan to do support for iOS 13?

Your sdk doesn't work property on iOS 13.

cybersource-ios-sdk Pod doesn't compile for Simulator M1 Macs

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

Add SDK via Cocoapod

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!

Bitcode support

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?

Implement Tokenization from encrypted data

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.