question

jbbdev avatar image
jbbdev asked lilliecastaneda answered

Intents.EXTRA_ORDER always returning null in MerchantFacingTenderActivity

Hello,

I am using the following from the Custom Tender Page in the DOCS:

final Order order = getIntent().getParcelableExtra(Intents.EXTRA_ORDER)

I am in the MerchantFacingTenderActivity, for some reason the Order is always coming back as null. Why is this?

Ordersclover developer communityDevKit
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

jbbdev avatar image
jbbdev answered

Still have never found a solution for this. Any help?


10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

lilliecastaneda avatar image
lilliecastaneda answered

@pizza tower:

Figured out of this issue,

just use

final Order order = getIntent().getParcelableExtra("com.clover.intent.extra.ORDER");

instead of

final Order order = getIntent().getParcelableExtra(Intents.EXTRA_ORDER)
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community