mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Remove unused
This commit is contained in:
parent
d86b315229
commit
099b50728e
1 changed files with 0 additions and 4 deletions
|
@ -125,10 +125,6 @@ const PayPalComponent = ({
|
|||
shipping_address: addresses.shippingAddress,
|
||||
});
|
||||
}
|
||||
const checkoutUrl = new URL(config.scriptData.redirect);
|
||||
// sometimes some browsers may load some kind of cached version of the page,
|
||||
// so adding a parameter to avoid that
|
||||
checkoutUrl.searchParams.append('ppcp-continuation-redirect', (new Date()).getTime().toString());
|
||||
|
||||
location.href = getCheckoutRedirectUrl();
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue