Frontend also needs to be updated since atm we implement it to handle only "collect points and spend them for teddy bears"-like transactions by making the transactions having a spend amount in the frontend data model.
Once multiple promotion types (streak promotion, VIP promotion, ...) can be handled by the double-spending protection service, we need to replace the spend amount by a string describing the promotion that the transaction was for or the reward the user claimed.
Frontend also needs to be updated since atm we implement it to handle only "collect points and spend them for teddy bears"-like transactions by making the transactions having a spend amount in the frontend data model.
Once multiple promotion types (streak promotion, VIP promotion, ...) can be handled by the double-spending protection service, we need to replace the spend amount by a string describing the promotion that the transaction was for or the reward the user claimed.