PayPal cart request with Payever

  paypal, php, python

I use payever for paying and added PayPal. With this code I send the request, the problem is the part of the cart:

    'cart' : [{
        'name' : PRODUCTS[product]['name'],
        'price' : price,
        'quantity' : '1',
        'description' : PRODUCTS[product]['description']

The request I send for cart is this:

'cart': '["name","price","quantity","description"]'

It returns an error from PayPal. Does anybody know what PayPal expects?

Source: Ask PHP