How to access current order from custom serial key provider?
Posted: Tue Sep 23, 2008 11:08 am
How can I get access to the current order from within a custom serial key provider?
In my store, the SAME digital good is available with 1 and 12 month subscriptions and this needs to be reflected in the assigned key.
My experiments show that the DigitalGood provided in the Initialize method is simply a reference into the catalog as a whole and provides no means to navigate to the actual order being placed/activated.
Am I missing something? Is there a "global" way to access the active order (via HttpContext perhaps?)
Thanks for any suggestions,
Pete
In my store, the SAME digital good is available with 1 and 12 month subscriptions and this needs to be reflected in the assigned key.
My experiments show that the DigitalGood provided in the Initialize method is simply a reference into the catalog as a whole and provides no means to navigate to the actual order being placed/activated.
Am I missing something? Is there a "global" way to access the active order (via HttpContext perhaps?)
Thanks for any suggestions,
Pete