I'm getting an error on a call to DoOrder():
FailureCode -4,
Msg: "min 1 max 2 items in order".
Here's the code that calls DoOrder():
m.channelStore.SetMessagePort(port)
m.channelStore.ClearOrder()
m.channelStore.SetOrder([{
guid : "PAID.099"
qty : 1
}])
m.channelStore.DoOrder()
msg = invalid
while type(msg) <> "roChannelStoreEvent"
msg = Wait(0, port)
end while
I have confirmed that "PAID.099" is the *Identifier/internal reference number" of an in-channel product in this channel. It has purchase type of "One Time Purchase, Consumable - Quantity 1".
How can I correct this error?
Thanks very much in advance to all for any info!