2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added initial support for non-panel credits receipts.

This commit is contained in:
23rd
2024-05-24 22:20:41 +03:00
committed by John Preston
parent 93eff78cd6
commit c27c567225
7 changed files with 64 additions and 9 deletions

View File

@@ -415,6 +415,11 @@ void CheckoutProcess::handleFormUpdate(const FormUpdate &update) {
_nonPanelPaymentFormProcess(
std::make_shared<CreditsFormData>(data.data));
}
}, [&](const CreditsReceiptReady &data) {
if (_nonPanelPaymentFormProcess) {
_nonPanelPaymentFormProcess(
std::make_shared<CreditsReceiptData>(data.data));
}
}, [&](const Error &error) {
handleError(error);
});