Added initial payment support for credits giveaway.

This commit is contained in:
23rd
2024-08-27 20:39:18 +03:00
committed by John Preston
parent 6ac13b7f80
commit e6b8b4be18
3 changed files with 51 additions and 4 deletions
+2 -2
View File
@@ -537,10 +537,10 @@ Payments::InvoicePremiumGiftCode PremiumGiftCodeOptions::invoice(
const auto token = Token{ users, months };
const auto &store = _stores[token];
return Payments::InvoicePremiumGiftCode{
.randomId = randomId,
.currency = _optionsForOnePerson.currency,
.amount = store.amount,
.storeProduct = store.product,
.randomId = randomId,
.amount = store.amount,
.storeQuantity = store.quantity,
.users = token.users,
.months = token.months,