Sale transactions posted as "Auth"

Hi,
All sale’s go as an auth. Is there a settlement process for this?
I have posted the same query in the helpdesk as well.

https://poynt.zendesk.com/hc/en-us/requests/467

Thanks.

Hi Prasad,

I have staged an OS update for your device. You will need to update dependencies in your build.gradle to:

compile 'co.poynt.api:android-api-model:1.2.44@jar'
compile 'co.poynt.android.sdk:poynt-sdk:1.2.11@aar'

Once you restart it should update automatically. I have checked the business settings and they appear to be set up properly for auto capture. Can you try again after the update and let me know?

Hi,

I have updated the device OS and changed the gradle dependencies as you mentioned.

compile ‘co.poynt.api:android-api-model:1.2.44@jar’
compile ‘co.poynt.android.sdk:poynt-sdk:1.2.11@aar’

But application crashed when I launch the payment fragment and there is no error logs displayed in the logcat.

Then I reverted to previously used gradle dependencies,

compile ‘co.poynt.api:android-api-model:1.2.32@jar’
compile ‘co.poynt.android.sdk:poynt-sdk:1.2.8@aar’

Here also application crashed when I launch the payment fragment but got the error logs.
Following are the error logs.

04-14 06:14:28.077 1225-1225/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: co.poynt.services, PID: 1225
java.lang.RuntimeException: Unable to start activity ComponentInfo{co.poynt.services/co.poynt.services.payments.PoyntPaymentActivity}: java.lang.RuntimeException: bad array lengths
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: bad array lengths
at android.os.Parcel.readByteArray(Parcel.java:1645)
at co.poynt.os.model.Payment$1.createFromParcel(Payment.java:248)
at co.poynt.os.model.Payment$1.createFromParcel(Payment.java:239)
at android.os.Parcel.readParcelable(Parcel.java:2104)
at android.os.Parcel.readValue(Parcel.java:2013)
at android.os.Parcel.readArrayMapInternal(Parcel.java:2314)
at android.os.Bundle.unparcel(Bundle.java:249)
at android.os.Bundle.getParcelable(Bundle.java:1206)
at android.content.Intent.getParcelableExtra(Intent.java:4652)
at co.poynt.services.payments.PoyntPaymentActivity.handleIntent(PoyntPaymentActivity.java:86)
at co.poynt.services.payments.PoyntPaymentActivity.onCreate(PoyntPaymentActivity.java:49)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)

Can you send me the serial number of your device via private message?

Hi Dennis,
Have sent you the serial number separately, do let me know if you have not received it.

Thanks.

Hi Dennis,
Do you have any update on this?

Thanks

Sorry, I thought I responded on Friday when I made a change in your business settings. Can you try again and let me know?

Hi,

The issue remains the same. When I call the payment fragment, application crashes. But there is no error logs related to the Poynt service in logcat. Previously we used to get the logs. Was the update a “release” build? Or is there a way to enable the service logs?

I tried with both updated gradle dependencies:

compile 'co.poynt.api:android-api-model:1.2.44@jar' 
compile 'co.poynt.android.sdk:poynt-sdk:1.2.11@aar' 

And previously used gradle dependencies:

compile 'co.poynt.api:android-api-model:1.2.32@jar' 
compile 'co.poynt.android.sdk:poynt-sdk:1.2.8@aar' 

Thanks.

Let’s hash this out over email. I just sent you a reply.

Hi Dennis,

Sure, I’ll check the mail.

Thanks.

Hi @dennis,

I’m getting the same issue. I’ve tried with:

compile 'co.poynt.api:android-api-model:1.2.36@jar' 
compile 'co.poynt.android.sdk:poynt-sdk:1.2.10@aar'

and

compile 'co.poynt.api:android-api-model:1.2.32@jar' 
compile 'co.poynt.android.sdk:poynt-sdk:1.2.8@aar'

Both throws “bad array lengths” exception.

When I try with

compile 'co.poynt.api:android-api-model:1.2.44@jar' 
compile 'co.poynt.android.sdk:poynt-sdk:1.2.11@aar'

Then I got ClassNotFoundException to the class com.google.gson.Gson. I’m actually using Jackson to handle json.

Can you help me, please?

Thanks in advance. (:

Can you please include this in your build.gradle and try again?

    compile 'com.google.code.gson:gson:2.4'

It’s now working. Thank you @dennis!

Hi dennis,

I’m having the same problem here. All SALE transactions are being treated as AUTH transactions. I tested the SALE transaction from our app and from the Poynt Terminal app and the results are the same.

I’m using the latest dependencies for my app:

compile ‘co.poynt.api:android-api-model:1.2.62@jar’
compile ‘co.poynt.android.sdk:poynt-sdk:1.2.14@aar’

I searched for the auto capture settings in the test merchant account, but couldn’t find any (I looked at the business settings and the store settings).

Does my device need an OS update too?

I found a similar topic below, and it seems that there are cases where SALE/AUTH is determined at the processor side:

I’m currently using Chase as the processor in my test account. Is the Chase test server handling all SALE transactions as AUTH?

That’s correct. The auths are batch captured on the host at the end of the day.

Thank you for the clarification @dennis