diff --git a/src/app/common/components/modals/Donates/DonatesModal.component.tsx b/src/app/common/components/modals/Donates/DonatesModal.component.tsx index 7831acf54..c3233291c 100644 --- a/src/app/common/components/modals/Donates/DonatesModal.component.tsx +++ b/src/app/common/components/modals/Donates/DonatesModal.component.tsx @@ -75,7 +75,7 @@ const DonatesModal = () => { Promise.all([DonationApi.create(donation)]) .then((response) => { - window.open(response[0].pageUrl); + window.location.assign(response[0].pageUrl); }) .catch(); } diff --git a/src/features/AdditionalPages/SupportUsPage/components/DonationBlock.component.tsx b/src/features/AdditionalPages/SupportUsPage/components/DonationBlock.component.tsx index 3eab500a6..1faca9f77 100644 --- a/src/features/AdditionalPages/SupportUsPage/components/DonationBlock.component.tsx +++ b/src/features/AdditionalPages/SupportUsPage/components/DonationBlock.component.tsx @@ -64,7 +64,7 @@ const DonationBlock = () => { try { const response = await DonationApi.create(donation); donateEvent('support_us_page_donation_block'); - window.open(response.pageUrl); + window.location.assign(response.pageUrl); } catch (err) {} } };