Closed martianatwork closed 4 years ago
Hey @martianatwork,
Thanks for the good feedback! This is very similar to #1 which isn't possible at the moment, but I have an idea to make it work.
This will be possible when 0.1.6
is published on Packagist.
You are awesome! Thank you.
I love this package and the way developed it <3.
My current issue is I want to associate a user with a voucher but theres no way to verify that, Im not sure how to get the current redeemer which is being processed in the Observer.
Voucher::redeeming(function (Voucher $voucher) { // Do some fancy checks here. return false; });
this returns $voucher but the $voucher->redeemers return data from the DB.
I would love it if we can implement this feature in the package itself and provide a run time option to bypass this check.