OpenBuildings / paypal

PayPal SDK for ExpressCheckout and AdaptivePayments.
Other
29 stars 24 forks source link

PaymentDetails not returning actual details. #14

Open mikemackay opened 8 years ago

mikemackay commented 8 years ago

I'm trying to retrieve the payement details for a request and I'm not getting a response back. Well, the respsonse is coming back from the API but the static::parse_string() method being called from the Adaptive class appears to be validating the response as if it is the same structure as a payment execution.

Within PaymentDetails, "paymentExecStatus" does not exist in the response from PayPal. Instead, the repsonse contains "paymentInfoList.paymentInfo(0)" which contain fields such as "transactionId", "transactionStatus" and "pendingReason".