Eduard Kuzmenko 2 years ago
parent
commit
382c217eb2
  1. 4
      .env
  2. 3
      src/components/popups/paymentVerification.ts

4
.env

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750
VERSION=1.5.0
VERSION_FULL=1.5.0 (194)
BUILD=194
VERSION_FULL=1.5.0 (195)
BUILD=195

3
src/components/popups/paymentVerification.ts

@ -22,7 +22,8 @@ export function createVerificationIframe(url: string, callback: TelegramWebviewE @@ -22,7 +22,8 @@ export function createVerificationIframe(url: string, callback: TelegramWebviewE
const iframe = document.createElement('iframe');
// iframe.title = 'Complete Payment';
iframe.allow = 'payment';
iframe.setAttribute('sandbox', 'allow-forms allow-scripts allow-same-origin allow-top-navigation allow-modals');
// iframe.setAttribute('sandbox', 'allow-forms allow-scripts allow-same-origin allow-top-navigation allow-modals');
iframe.setAttribute('sandbox', 'allow-forms allow-scripts allow-same-origin allow-modals');
iframe.classList.add('payment-verification');
iframe.src = url;

Loading…
Cancel
Save