Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkout not working bug - transaction cancelled - checkout process not completing (prEvent, emv, internal error) #49

Closed
mrgithub opened this issue Jan 27, 2024 · 2 comments

Comments

@mrgithub
Copy link

mrgithub commented Jan 27, 2024

Running the example code. I think it's a wonderful plugin.

First time it worked and allowed me to touch the reader with phone (using developer credentials on the sumup_flutter app and changed the currency to 'GBP'). Thereafter it when button pressed to checkout it briefly flashes the screen to find the reader then goes to a page saying transaction failed and it was a network error.

I don't understand why it's not working. I've googled everywhere. The console shows this:

Event prEvent Checkout - Reason: Internal error E/SumUp ( 3450): (Source File:1)@main | Error for in emv response: Internal error

I'm also seeing the following:
Expecting binder but got null!

W/EventBus(14688): Subscriber to unregister was not registered before: class com.sumup.merchant.reader.identitylib.ui.activities.LoginActivity

'W/MaterialButton(14688): MaterialButton manages its own background to control elevation, shape, color and states. Consider using backgroundTint, shapeAppearance and other attributes where available. A custom background will ignore these attributes and you should consider handling interaction states such as pressed, focused and disabled'

'E/WindowManager(14688): android.view.WindowLeaked: Activity com.sumup.merchant.reader.ui.activities.CardReaderPaymentAPIDrivenPageActivity has leaked window DecorView@d8e3d07[CardReaderPaymentAPIDrivenPageActivity] that was originally added here
E/WindowManager(14688): at android.view.ViewRootImpl.(ViewRootImpl.java:916)
E/WindowManager(14688): at android.view.ViewRootImpl.(ViewRootImpl.java:900)
E/WindowManager(14688): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:386)
E/WindowManager(14688): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
E/WindowManager(14688): at android.app.Dialog.show(Dialog.java:352)
E/WindowManager(14688): at com.sumup.merchant.reader.helpers.ProgressDialogHelper.createDialog(SourceFile:3)
E/WindowManager(14688): at com.sumup.merchant.reader.helpers.ProgressDialogHelper.getDialog(SourceFile:1)
E/WindowManager(14688): at com.sumup.merchant.reader.helpers.ProgressDialogHelper.getDialog(SourceFile:2)
E/WindowManager(14688): at com.sumup.merchant.reader.helpers.ProgressDialogHelper.getProcessingDialog(SourceFile:1)
E/WindowManager(14688): at com.sumup.merchant.reader.ui.activities.CardReaderPaymentAPIDrivenPageActivity.sendTerminalSDKCheckoutRequest(SourceFile:1)
E/WindowManager(14688): at com.sumup.merchant.reader.ui.activities.CardReaderPaymentAPIDrivenPageActivity.onSafeCreate(SourceFile:19)
E/WindowManager(14688): at com.sumup.base.common.ui.SumUpBaseActivity.onCreate(Unknown Source:159)
E/WindowManager(14688): at com.sumup.merchant.reader.ui.activities.CardReaderPaymentAPIDrivenPageActivity.onCreate(SourceFile:2)
E/WindowManager(14688): at android.app.Activity.performCreate(Activity.java:8291)
E/WindowManager(14688): at android.app.Activity.performCreate(Activity.java:8270)
E/WindowManager(14688): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
E/WindowManager(14688): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3664)
E/WindowManager(14688): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3820)
E/WindowManager(14688): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
E/WindowManager(14688): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/WindowManager(14688): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/WindowManager(14688): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2315)
E/WindowManager(14688): at android.os.Handler.dispatchMessage(Handler.java:107)
E/WindowManager(14688): at android.os.Looper.loopOnce(Looper.java:201)
E/WindowManager(14688): at android.os.Looper.loop(Looper.java:288)
E/WindowManager(14688): at android.app.ActivityThread.main(ActivityThread.java:7935)
E/WindowManager(14688): at java.lang.reflect.Method.invoke(Native Method)
E/WindowManager(14688): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/WindowManager(14688): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1149)
D/BluetoothGatt(14688): onClientConnectionState() - status=0 clientIf=6 device=C8:54:DE:EE:AD:50
D/BluetoothGatt(14688): close()
D/BluetoothGatt(14688): unregisterApp() - mClientIf=6
E/SumUp (14688): (SourceFile:13)@BtSmart-Receiver | onFatalError() CardReaderError{Name = TRANSPORT_DISCONNECTED mErrorCode=3}
E/SumUp (14688): (SourceFile:2)@BtSmart-Receiver | onTransportError() CardReaderError{Name = TRANSPORT_DISCONNECTED mErrorCode=3}
'

@mrgithub mrgithub changed the title Checkout not working - transaction cancelled Checkout not working - transaction cancelled - checkout process not completing Jan 27, 2024
@mrgithub mrgithub changed the title Checkout not working - transaction cancelled - checkout process not completing Checkout not working - transaction cancelled - checkout process not completing (prEvent, emv, internal error) Jan 27, 2024
@mrgithub mrgithub changed the title Checkout not working - transaction cancelled - checkout process not completing (prEvent, emv, internal error) Checkout not working bug - transaction cancelled - checkout process not completing (prEvent, emv, internal error) Jan 27, 2024
@sstasi95
Copy link
Collaborator

Hi, is it still happening? It may be a temporary SumUp server side error. Sometimes server side errors happen.

@sstasi95
Copy link
Collaborator

sstasi95 commented May 7, 2024

If it's still happening you can follow this SumUp issue.

@sstasi95 sstasi95 closed this as completed May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants