mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue