mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Added initial ability to process non-panel payment forms.
This commit is contained in:
@@ -22,6 +22,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "boxes/background_preview_box.h"
|
||||
#include "ui/boxes/confirm_box.h"
|
||||
#include "ui/boxes/edit_birthday_box.h"
|
||||
#include "payments/payments_non_panel_process.h"
|
||||
#include "boxes/share_box.h"
|
||||
#include "boxes/connection_box.h"
|
||||
#include "boxes/edit_privacy_box.h"
|
||||
@@ -1092,7 +1093,8 @@ bool ResolveInvoice(
|
||||
Payments::CheckoutProcess::Start(
|
||||
&controller->session(),
|
||||
slug,
|
||||
crl::guard(window, [=](auto) { window->activate(); }));
|
||||
crl::guard(window, [=](auto) { window->activate(); }),
|
||||
Payments::ProcessNonPanelPaymentFormFactory(controller));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user