Discount vouchers are intended for one-time use only and shall be treated as used even if you cancel the order.
If you have used Purplle wallet money for an order, the same will be credited back to your Purplle wallet in the case of a cancellation.