mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Fix request params
This commit is contained in:
parent
98f6d0de45
commit
57414cff9f
1 changed files with 1 additions and 2 deletions
|
@ -38,8 +38,7 @@ const PayPalComponent = ({
|
|||
body: JSON.stringify({
|
||||
nonce: config.scriptData.ajax.create_order.nonce,
|
||||
bn_code: '',
|
||||
context: 'express',
|
||||
order_id: config.scriptData.order_id,
|
||||
context: config.scriptData.context,
|
||||
payment_method: 'ppcp-gateway',
|
||||
createaccount: false
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue