Fix request params

This commit is contained in:
Alex P 2023-04-22 13:16:42 +03:00
parent 98f6d0de45
commit 57414cff9f
No known key found for this signature in database
GPG key ID: 54487A734A204D71

View file

@ -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
}),