amsgames / laravel-shop

Laravel shop package
MIT License
483 stars 166 forks source link

Got error this error transactions[0].item_list.items[0].name at time of paypal payment #69

Open ankitabhatti05 opened 5 years ago

ankitabhatti05 commented 5 years ago

message: "VALIDATION_ERROR: Invalid request. See details."

code: 1001

file: "..\vendor\amsgames\laravel-shop-gateway-paypal\src\GatewayPayPal.php"

line: 149

-previous: PayPalConnectionException { -url: "https://api.sandbox.paypal.com/v1/payments/payment" -data: "{"name":"VALIDATION_ERROR","details":

[{"field":"transactions[0].item_list.items[0].name","issue":"Value must not be blank."}],"message":"Invalid request. See details"

message: "Got Http response code 400 when accessing

https://api.sandbox.paypal.com/v1/payments/payment."

#code: 400

#file: "..\vendor\paypal\rest-api-sdk-php\lib\PayPal\Core\PayPalHttpConnection.php"

#line: 202