Error unmarshalling Payment object in an intent receiver

I’m trying to get the Payment object out of the COLLECT_PAYMENT intent extras. It works on my P61, but my P62 has the following stack trace:

Caused by: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: co.poynt.os.model.Payment

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at android.os.Parcel.readParcelableCreator(Parcel.java:2411)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at android.os.Parcel.readParcelable(Parcel.java:2337)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at android.os.Parcel.readValue(Parcel.java:2243)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at android.os.Parcel.readArrayMapInternal(Parcel.java:2592)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at android.os.BaseBundle.unparcel(BaseBundle.java:221)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at android.os.Bundle.getParcelable(Bundle.java:786)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at android.content.Intent.getParcelableExtra(Intent.java:5575)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at android.app.Activity.getReferrer(Activity.java:4753)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at com.android.internal.app.ResolverActivity.getReferrerPackageName(ResolverActivity.java:384)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at com.android.internal.app.ResolverActivity.onCreate(ResolverActivity.java:244)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at com.android.internal.app.ResolverActivity.onCreate(ResolverActivity.java:197)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6309)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)

04-30 12:52:35.669 7656 7656 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2519)

I have my apk compiled against the 1.2.33 SDK and 1.2.120 android-api-model

Hi Poynt team, has anyone had a chance to look at this?

Found a fix for this. There’s a bug in the ResolverActivity on the P62 (slated for Q2/Q3 resolution). To get around this, I had to send out an EMPTY COLLECT_PAYMENT intent to get the ResolverActivity to not blow up on the JSON. Once I had resolved intent handling, the rest of the app worked.