do not process order from block pages

This commit is contained in:
Narek Zakarian 2024-05-15 22:06:52 +04:00
parent eaf7985145
commit 21bc7be648
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7
2 changed files with 3 additions and 1 deletions

View file

@ -10,6 +10,7 @@ const onApprove = (context, errorHandler) => {
nonce: context.config.ajax.approve_order.nonce,
order_id:data.orderID,
funding_source: window.ppcpFundingSource,
should_create_wc_order: true
})
}).then((res)=>{
return res.json();