May 22, 2015 at 6:04 am 44862
|Mike||I'm getting an error originating within the PayPal PHP SDK in the Adaptive Payments plugin. On checkout, I get this:
May 23, 2015 at 6:46 am 44911
Some updates on my findings…
I’m still not sure where things are going wrong, but it appears that the SDK uses doc comments to determine which type of object is created, and on the requestEnvelope field in the PayResponse class, it’s not successfully getting any doc comment to parse, so it falls back to ‘string’.
If I hardcode
May 23, 2015 at 11:57 am 44920
I have reproduced this issue but did not get any inconsistency. Everything is working fine. Make sure you have properly configured PayPal adaptive settings on Dokan.
May 27, 2015 at 3:44 am 45264
Thank you for the info, but everything is configured correctly.
I found the source of the issue, however. It looks like eAccelerator is enabled on WP Engine, where we’re hosting our site, and that strips doc comments from the source when caching. I’m checking with their support now to see if I can have it disabled for this site.