Reputation: 908
I'm trying to write a PHP class for paypal express mutliple payments. All is well so far except one thing I haven't figured out. In PayPal's docs it says that PAYMENTREQUEST_n_PAYMENTREQUESTID is a required field for multiple payments, however I have no idea where to obtain a value for it. Is it a user set value? I tried putting random values and PP returns a SUCCESS however I'm not sure if that's good or bad.
Upvotes: 0
Views: 158
Reputation: 531
PAYMENTREQUESTID is a user set value. The purpose of this field is to allow you co-relate response data for each of your parallel payments with your request data - Therefore it is good enough that this field is unique amongst multiple payment data for a given API call but random numbers should work too. See the docs for more.
Upvotes: 1