I'm trying to get MassPay working on my website. Here's my code: http://pastebin.com/rNGzXrq0

But it's uncomprehensible, as it gives me the error response "the number of input records is less than or equal to zero" even If there is 2 input records in the request.

How can I solve this ?

Thank you for your help :)

有帮助吗?

解决方案

I noticed you have

'L_ATM0' => '5.00',

It should be

'L_AMT0' => '5.00',

其他提示

The full list of PayPal API error messages can be found here.

The "long message" that you're receiving from the API is very poorly worded to the point of being almost useless.

Thankfully, the "short message" is a lot more helpful:

Transaction refused because of an invalid argument. See additional error messages for details.

So the error in question is related to a bad argument being passed.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top