Ingenico-ePayments / connect-sdk-client-swift

Ingenico Connect iOS Swift Client SDK
https://docs.connect.worldline-solutions.com/documentation/sdk/mobile/swift/
Other
5 stars 12 forks source link

Crash when preparing payment request #3

Closed matthmart closed 5 years ago

matthmart commented 6 years ago

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.

manhhavu commented 6 years ago

I have the same problem with the new version 3.0.0:

crash
milanpanchal commented 5 years ago

I'm still facing the same issue. Please fix the issue.

rob-spoor commented 5 years ago

This should be resolved soon. We cannot currently give an ETA though.

LeonStemerdink commented 5 years ago

This issue has been fixed in release 3.2.0.