Thanks
However, when I send the order id to the order manager, it returns
'None'. Here is the code I'm using:
order_manager = component.getUtility(interfaces.IOrderManager)
orderid = self.getQuerystring()
if order_manager.isValid(orderid):
order = order_manager.get(orderid)
else:
order = "invalid"
Now, as you can see from the above code, I am checking whether the
orderid I receive is valid. When the id is validated, it is supposed
to set order to the order object. However, order_manager.get(orderid)
returns 'None'.
Any idea why this could be happening?
H
On May 20, 8:36 am, Tim Knapp <
duf...@...> wrote:
> Hi Hannes,
>
> order_manager = getUtility(IOrderManager)
> order = order_manager.get(yourOrderID)
>
> Thanks,
> Tim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "getpaid-dev" group.
To post to this group, send email to
getpaid-dev@...
To unsubscribe from this group, send email to
getpaid-dev+unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/getpaid-dev?hl=en-~----------~----~----~----~------~----~------~--~---