Fixed Portal temporary donation link saved in browser history (#17677)
no issue - When clicking back button in the browser when on the checkout page, will not open Stripe again - Does not open Stripe checkout in peek and pop mode in Arc
This commit is contained in:
parent
a407129546
commit
658f0a65e6
@ -19,7 +19,7 @@ const SupportPage = () => {
|
||||
const response = await api.member.checkoutDonation({successUrl, cancelUrl});
|
||||
|
||||
if (response.url) {
|
||||
window.location.assign(response.url);
|
||||
window.location.replace(response.url);
|
||||
}
|
||||
} catch (err) {
|
||||
const errorMessage = err.message || 'There was an error processing your payment. Please try again.';
|
||||
|
Loading…
Reference in New Issue
Block a user