GithubHelp home page GithubHelp logo

ingenico-epayments / connect-sdk-client-swift Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 12.0 9.71 MB

Ingenico Connect iOS Swift Client SDK

Home Page: https://docs.connect.worldline-solutions.com/documentation/sdk/mobile/swift/

License: Other

Ruby 0.17% Swift 99.83%

connect-sdk-client-swift's People

Contributors

ingenicoepayments avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

connect-sdk-client-swift's Issues

Carthage support

Hello,
We are using carthage for dependency management and we want to use Ingenico-ePayments but it seems like your framework doesn't support Carthage.

thank you in advance.

error in PreparedPaymentRequest.encryptedFields

Hi guys,
We have some problems using this sdk.

We are doing this:
session.prepare(paymentRequest, success: { preparedPaymentRequest in print(preparedPaymentRequest.encryptedFields) }
and what we are printing is not what the server expects.

We tried with js, objective-c and java sdk's and we only have problems with this sdk.

[BUG] iOS - Credit card payment process crashes when trying to execute "creditCardPayment"

"Fatal error: Unexpectedly found nil while unwrapping an Optional value
IngenicoConnectKit/AssetManager.swift:162: Fatal error: Unexpectedly found nil while unwrapping an Optional value
flutter: PaymentOption: {label: Cards, id: cards, logoUrl:
templates/master/global/css/img/ppimages/group-card.png, displayOrder:
0, isAccount: false}

  • thread #35, queue = 'com.apple.root.default-qos', stop reason = Fatal
    error: Unexpectedly found nil while unwrapping an Optional value
    frame #0: 0x000000018609aebc
    libswiftCore.dylib_swift_runtime_on_report libswiftCore.dylib_swift_runtime_on_report:
    -> 0x18609aebc <+0>: ret
    libswiftCore.dylib_swift_reportToDebugger: 0x18609aec0 <+0>: b 0x18609aebc ; _swift_runtime_on_report libswiftCore.dylib_swift_shouldReportFatalErrorsToDebugger:
    0x18609aec4 <+0>: adrp x8, 463394
    0x18609aec8 <+4>: ldrb w0, [x8, #0x60c]
    Target 0: (Runner)
    stopped.
    Lost connection to device."

Tested on iOS 15.4.1, on iPhone X, iPhone 12 and iPhone 8. This error happens everytime.

Hotfix is placing a "return" at the very start of each of the two "updateImages"-functions in the AssetManager.swift. (I also commented out the whole code in both "updateImages"-functions just to be safe.

Crash when preparing payment request

We are trying to prepare a payment request using Session.prepare() method. But we have a crash at line 228, in the file Encryptor.swift: https://github.com/Ingenico-ePayments/connect-sdk-client-swift/blob/master/IngenicoConnectKit/Cryptography/Encryptor.swift#L228

The error is :

Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value

There is no error on the payment request after calling validate() method. The SDK version is 3.0.0. The session is created on the pre-production environment, using the Ogone endpoint.

Thank you.

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.