Im trying to get some voucher codes to go in to my order, however it doesent seem to be happening.
But im not entirely sure that im using the right method to execute my voucher.
Ucommerce.Xslt.Library.AddVoucher(string)
Also where would i go about validating a voucher before trying to execute it? I would like some logic to handle if voucher doesent exisist or alrdy have been used.
A different option is to add the voucher to the basket, execute the basket pipline, and check if you got a new discount with the campaign item name as the name.
Vouchers?
Running veresion: 2.1 of ucommerce.
Im trying to get some voucher codes to go in to my order, however it doesent seem to be happening.
But im not entirely sure that im using the right method to execute my voucher.
Ucommerce.Xslt.Library.AddVoucher(string)
Also where would i go about validating a voucher before trying to execute it? I would like some logic to handle if voucher doesent exisist or alrdy have been used.
The simplest is to look up the voucher code in question like this:
A different option is to add the voucher to the basket, execute the basket pipline, and check if you got a new discount with the campaign item name as the name.
is working on a reply...