cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error in paypal express checkout with magento

Highlighted
New Community Member

Getting error in paypal express checkout with magento

 "message": "PayPal gateway has rejected request. This transaction cannot be completed with PaymentAction of Authorization (#10423: Transaction refused because of an invalid argument. See additional error messages for details).",

i'm getting this above error in the "rest/V1/carts/mine/payment-information" in the magento 2



"paymentMethod": {
"method": "paypal_express",
"additional_data": {
"paypal_express_payment_payload": "METHOD=DoExpressCheckoutPayment&USER=here2u-01_api1.gmail.con&PWD=H89SAPW22A7YCC6K&SIGNATURE=Ai7b8E.7.hwd4Ohvhry3WnEpnRxsAniMbsfFgBXbD-8XmOKqc7usjjMc&TOKEN=EC-5C095349NF218524L&PAYERID=LDULN45Y8RWFJ&VERSION=95&PAYMENTREQUEST_0_AMT=250&PAYMENTREQUEST_0_CURRENCYCODE=USD",
"paypal_express_checkout_token": "EC-5C095349NF218524L",
"paypal_express_checkout_redirect_required": false,
"paypal_express_checkout_payer_id": "LDULN45Y8RWFJ"
}
}, 

this is our payload 

it would be greatful for us if you can suggest something or you can suggest us the payload of this api