mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
Do not sent order in approve response
This commit is contained in:
parent
43594105a2
commit
508fe0ee48
2 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ const PayPalComponent = ({
|
|||
throw new Error(config.scriptData.labels.error.generic)
|
||||
}
|
||||
|
||||
const order = json.data;
|
||||
const order = await actions.order.get();
|
||||
|
||||
setPaypalOrder(order);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue