04-08-05 07:51 AM
The documentation states that you need to provide some key that provides use
r
identity... in the example they've used the e-mail (excerpt from the Help
File given below)
// Promo_user_identity is an alternate identifier for the
// current user. A match of the user identity may be
// required for Restricted codes.
of["promo_user_identity"] = userEmail;
In you code this seems to be missing
"Shri" wrote:
> Hi all,
>
> i have an issue in implementing promotional codes in retail2002 app using
FP1
>
> Im trying to use the promotional code functionality i accociated a coupon
> code and incorporated all code explainied in the FP1 help file but i run t
he
> basket im getting "Key cannot be null " in commerce .reserver promocodes i
m
> pasting the pipeline log file..just last few lines..the promo_codes single
> list is set and promo code no is 1234567890 (its a public coupon) .Is ther
e
> any information i missed to set?
>
> PIPELINE:++ component[0x8] about to be called ProgID:
> Commerce.ReservePromoCodes
> RootObject: ReadValue promo_codes VT_DISPATCH PV=[0xf0502b8] VT_EMPTY
> __empty__
> RootObject: ReadValue promo_code_info VT_DISPATCH PV=[0xa168fc0] VT_EM
PTY
> __empty__
> promo_codes: ReadItem 0 VT_BSTR 1234567890 VT_EMPTY __empty__
> promo_codes: ReadItem 1 VT_EMPTY __empty__ VT_EMPTY __empty__
> PIPELINE:-- component [0x8] returned hr: 0x80004003, IErrorLevel=4 in
18719
> milliseconds
> Error Description: Component Execution failed for component[0x8]
hr:
> 0x80004003
> ProgID: Commerce.ReservePromoCodes
> Key cannot be null.
> Parameter name: key
> PIPELINE:-- 2005/04/07 17:49:49.0593 Pipeline Execution completed returnin
g
> hr: 0x80004003
> i: 0x9
> hrLoop: 0x80004003
> *plErrorLevel: 1000
>
> Sink stopped at 2005/04/07 17:49:49.0593
>
>
> Also after this my basket is not populating at all im getting the loadbask
et
> failed exception.But when i restart my machine basket is fine.Not sure why
> this happens
>
>
> Please guide me,
>
> Thank you
> Shri.
>
>
>
>
[ Post a follow-up to this message ]
|