New order intent issue

Hey guys,

i’ve created receiver that is registered for NEW_ORDER_CREATED intent.

Everything is fine except that it seems that intent is not being sent when register app is entered for the first time.

So when i complete the order, new order is immediately created and i receive intent, but not the first time i enter register.

Is this intended or a bug?

Thanks

Cheers

Is it maybe that new order is created after the payment is done?

Thus intent is being fired after the payment.

First, i was under the impression that order is created empty when register app is entered.

Cheers

A new order is created only when the payment is completed or when the order is saved. Until then the order is in memory.

Thanks for clearing this Deepak

Cheers