Seems that there is an issue with scanning unassigned vouchers. If I scan an unassigned voucher on master with Me-debug I get a server error. The transaction still happens though.
Path to reproduce:
Create a voucher through voucher generator (activation code)
Activate voucher through voucher generator
Scan QR-code using Me-debug
Fill in amount lower then maximum budget.
Server error happens here
To test that it only happens with unassigned voucher you can after this assign it to an e-mail and it works again as intended.
Fix from master
Main asssignee: @
Context/goal:
Seems that there is an issue with scanning unassigned vouchers. If I scan an unassigned voucher on master with Me-debug I get a server error. The transaction still happens though.
Path to reproduce:
To test that it only happens with unassigned voucher you can after this assign it to an e-mail and it works again as intended.