Forum Replies Created

Viewing 4 Topics - 1 through 4 (of 4 total)
Author Posts
May 27, 2015 at 3:44 am in reply to: PayPal Adaptive Payments – Class 'string' not found 45264
Mike Mike

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.

May 23, 2015 at 6:46 am in reply to: PayPal Adaptive Payments – Class 'string' not found 44911
Mike Mike

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 if ($propertyName == "responseEnvelope") return 'ResponseEnvelope'; into the PPUtils::propertyType method, then I can at least submit an order and have it go through to PayPal as expected, but this is far from a solution. I’ll update this if I can figure out why the ReflectionProperty is failing to get the comment.

February 24, 2015 at 12:21 am in reply to: Adaptive Payment Clarification Please 37465
Mike Mike

Thanks for your reply Mario.

I understand that to go live, the App has to be approved but I’m just trying to fire the API in Sandbox mode. Shouldn’t it work regardless?

February 21, 2015 at 1:09 am in reply to: Adaptive Payment Clarification Please 37261
Mike Mike

Ok so I followed your instructions but I’m getting this error:

error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

I have created my Classic API App in developer.paypal.com but still getting an error.

Viewing 4 Topics - 1 through 4 (of 4 total)