Has anyone done anything with Voucher Codes/Giftcards etc?
I have an app that sells products and uses stripe to pay. One of the items they can buy is Giftcards (£50) to be used or bought for someone else.
- I need to be able to allow the purchase of gift cards
- Send them to others (as gifts)
I’d like them to feature them in the products to purchase and store a unique ID (Randomly generate) against them. That code can then be used at check out by them or anyone else (who has that code). Once used it will need to be flagged.
I’m not sure about the best way to do this.
When purchased I can store it in their Order Items and generate the code. I’m not sure of the best way to then redeem this at check out and validated it hasn’t been used.
I guess when it is used I can mark it but how do I do the lookup at check out when they enter the code?
Any help greatly appreciated