Open subtractdown opened 4 years ago
For example we do not publish app in Google Play Store. Our app is private. We are facing same issue. Using old Sumup SDK version 3.0.0 solves the issue for now.
This just happeneed to us 2 days ago.
All customers are suddenly unable to make payments. The login attempt with generated token raises SSL exception and returns invalid token.
Running SDK 3.1.0, but also tried the 3.0.0 and 3.2.2. Each facing the same problem.
I/ActivityManager( 2813): START u0 {cmp=kasamax.mobile/com.sumup.merchant.api.LoadSumUpPaymentsActivity (has extras)} from uid 10482 on display 0 V/WindowManager( 2813): addAppToken: AppWindowToken{151f1d08 token=Token{c2c72ab ActivityRecord{ed6dcfa u0 kasamax.mobile/com.sumup.merchant.api.LoadSumUpPaymentsActivity t208}}} to stack=1 task=208 at 2 I/ActivityManager( 2813): START u0 {cmp=kasamax.mobile/com.sumup.merchant.api.LoadSumUpPaymentsActivity (has extras)} from uid 10483 on display 0 V/WindowManager( 2813): addAppToken: AppWindowToken{1900066e token=Token{8df29e9 ActivityRecord{1f5d1270 u0 kasamax.mobile/com.sumup.merchant.api.LoadSumUpPaymentsActivity t209}}} to stack=1 task=209 at 2 E/SumUp (24973): Certificate exception! E/SumUp (24973): javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. E/SumUp (24973): at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:322) E/SumUp (24973): at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:281) E/SumUp (24973): at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:251) E/SumUp (24973): at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:151) E/SumUp (24973): at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:195) E/SumUp (24973): at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:121) E/SumUp (24973): at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:100) E/SumUp (24973): at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) E/SumUp (24973): at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) E/SumUp (24973): at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) E/SumUp (24973): at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) E/SumUp (24973): at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) E/SumUp (24973): at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) E/SumUp (24973): at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) E/SumUp (24973): at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) E/SumUp (24973): at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) E/SumUp (24973): at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) E/SumUp (24973): at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) E/SumUp (24973): at com.sumup.merchant.Network.ScreenAndReaderCommandsInterceptor.intercept(SourceFile:39) E/SumUp (24973): at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) E/SumUp (24973): at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) E/SumUp (24973): at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185) E/SumUp (24973): at okhttp3.RealCall.execute(RealCall.java:69) E/SumUp (24973): at com.sumup.merchant.jsonRpcUtilities.JsonRpcHttpClient.doJSONRequest(SourceFile:125) E/SumUp (24973): at com.sumup.merchant.jsonRpcUtilities.JsonRpcClient.callObject(SourceFile:28) E/SumUp (24973): at com.sumup.merchant.Network.rpcManager$RpcThread$1.run(SourceFile:332) E/SumUp (24973): at java.lang.Thread.run(Thread.java:818) E/SumUp (24973): Caused by: java.security.cert.CertificateException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. E/SumUp (24973): at com.android.org.conscrypt.TrustManagerImpl.checkTrusted(TrustManagerImpl.java:318) E/SumUp (24973): at com.android.org.conscrypt.TrustManagerImpl.checkServerTrusted(TrustManagerImpl.java:219) E/SumUp (24973): at com.android.org.conscrypt.Platform.checkServerTrusted(Platform.java:114) E/SumUp (24973): at com.android.org.conscrypt.OpenSSLSocketImpl.verifyCertificateChain(OpenSSLSocketImpl.java:550) E/SumUp (24973): at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method) E/SumUp (24973): at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:318) E/SumUp (24973): ... 26 more E/SumUp (24973): Caused by: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. E/SumUp (24973): ... 32 more E/SumUp (24973): (SourceFile:182)@main | Event rpcEventLogin - Reason: Používáte starou verzi aplikace SumUp. Prosím, aktualizujte ji na nejnovější verzi. D/SumUp (24973): onActivityResult: 1 D/SumUp (24973): onLoginResult: Invalid Token D/SumUp (24973): Checking out! I/ActivityManager( 2813): START u0 {cmp=kasamax.mobile/com.sumup.merchant.api.LoadSumUpPaymentsActivity (has extras)} from uid 10487 on display 0 V/WindowManager( 2813): addAppToken: AppWindowToken{3c58cb0 token=Token{1cbdb7f3 ActivityRecord{13c84a62 u0 kasamax.mobile/com.sumup.merchant.api.LoadSumUpPaymentsActivity t216}}} to stack=1 task=216 at 2 D/PowerKeeperEventLogManager( 3580): notifyForegroundCompomentChanged ComponentInfo{kasamax.mobile/com.sumup.merchant.api.LoadSumUpPaymentsActivity} W/SumUp (24973): (SourceFile:103)@main | User is not logged in. Cancelling process D/SumUp (24973): onActivityResult: 2 D/SumUp (24973): onCheckoutResult: Log in first before opening Checkout
Contacted SumUp with the issue, so if I learn something I will post it here.
Hello,
We have released a new version of our SDK 3.3.0
I have included a link below with the information needed for an update.
https://github.com/sumup/sumup-android-sdk/releases/tag/v3.3.0
Hello @Mike-Lopez ,
Yes, I know, but we would need to migrate our application to AndroidX project, which we can not afford right now.
Does it mean the older SDKs will no longer work?
Hi,
You can use 3.2.2 for this project.
https://github.com/sumup/sumup-android-sdk/releases/tag/v3.2.2
Best,
Mike
On Thu, Oct 22, 2020 at 12:46 PM Filip Matys notifications@github.com wrote:
Hello @Mike-Lopez https://github.com/Mike-Lopez ,
Yes, I know, but we would need to migrate our application to AndroidX project, which we can not afford right now.
Does it mean the older SDKs will no longer work?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sumup/sumup-android-sdk/issues/120#issuecomment-714407002, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYALAXOULMUKTRYSTD7GJ3SMAEPZANCNFSM4NE5P7MQ .
-- Michael Lopez Technical Implementation Associate Sales and Partners
Hello Max,
Our apologies for the inconvenience.
You can also update with SDK version 3.2.2
https://github.com/sumup/sumup-android-sdk/releases
Please let me know if you have any questions and I will get back to you as soon as possible.
Best,
Mike
On Thu, Oct 22, 2020 at 9:46 PM Max Stewart notifications@github.com wrote:
We have also been hit by this and are discussing with SumUp. Their current stance is we need to update to SDK 3.3.0. Unfortuantely this is not possible as their update message blocks our built in update process.... 🤦♂️
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sumup/sumup-android-sdk/issues/120#issuecomment-714721531, or unsubscribe https://github.com/notifications/unsubscribe-auth/APYALARSRGRQNUFFDSUGWODSMCDZFANCNFSM4NE5P7MQ .
-- Michael Lopez Technical Implementation Associate Sales and Partners
We managed to make it work with the SDK Version 3.2.2. So I can confirm the update solved the issue.
steps to reproduce:
observed behaviour:
expected behaviour:
misc: