mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Explicitly send cookies in fetch
Not sent by default in old browsers
This commit is contained in:
parent
5be88678e7
commit
23cb96e6f9
12 changed files with 15 additions and 1 deletions
|
@ -10,6 +10,7 @@ document.addEventListener(
|
|||
PayPalCommerceGatewayVaulting.delete.endpoint,
|
||||
{
|
||||
method: 'POST',
|
||||
credentials: 'same-origin',
|
||||
headers: {
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue