The bug is that for “Gift A Meal” purchases, it breaks up the gift card purchase into a whole bunch of little gift cards attributed to a third party distributor and then sends a “thank you for your donation!” receipt to the purchaser but since the receipt sending is in the for loop that breaks up the gift cards, it ends up sending a whole bunch of tiny donation receipts to the purchaser.
So if you buuy 5 meals for $25 (at $5 a meal), you’ll get 5 receipts for $5 each.
The bug is that for “Gift A Meal” purchases, it breaks up the gift card purchase into a whole bunch of little gift cards attributed to a third party distributor and then sends a “thank you for your donation!” receipt to the purchaser but since the receipt sending is in the for loop that breaks up the gift cards, it ends up sending a whole bunch of tiny donation receipts to the purchaser.
So if you buuy 5 meals for $25 (at $5 a meal), you’ll get 5 receipts for $5 each.