[#4277] Paypal Gateway Fatal Error

10 years 6 months ago - 10 years 6 months ago #234812 by matthewohm
[#4277] Paypal Gateway Fatal Error was created by matthewohm
Hi, we're just starting to test real payments using the Paypal gateway but we're getting this message.

Fatal error: Nesting level too deep - recursive dependency? in .../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/paypal/cbpaidsubscriptions.paypal.php on line 1493

Any idea on what might be causing this crash?

Thanks in advance.

Please Log in to join the conversation.

10 years 6 months ago #234841 by krileon
Replied by krileon on topic Paypal Gateway Fatal Error
Believe that's a PHP 5.4 bug. It doesn't know how to stop with circular recursions output by var_dump, export_vars, etc.. What PHP version do you have exactly?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

10 years 6 months ago #234867 by matthewohm
Replied by matthewohm on topic Paypal Gateway Fatal Error
Hi Krileon, thanks for the reply.
According to the Joomla 3 system information, we're using 5.3.27.

Please Log in to join the conversation.

10 years 6 months ago - 10 years 6 months ago #234960 by krileon
Replied by krileon on topic Paypal Gateway Fatal Error
Please perform the below change and confirm if issue persists. Looks like it's also an open bug in PHP 5.3.0 since 2010 (strangle have never encountered it though).

IN: /components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/paypal/cbpaidsubscriptions.paypal.php
ON: Line 1493
FROM:
$this->_setLogErrorMSG( 3, $ipn, 'Received back from paypal: ' . var_export( $ipn, true ), CBPTXT::T("Payment notification mismatch: ") . $noFraudCheckResult . '.' );
TO:
$this->_setLogErrorMSG( 3, $ipn, 'Received back from paypal: ' . $ipn->raw_data, CBPTXT::T("Payment notification mismatch: ") . $noFraudCheckResult . '.' );

#4277


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

10 years 6 months ago #235080 by matthewohm
Replied by matthewohm on topic Paypal Gateway Fatal Error
Hi Krileon,
Thanks for the code. Unfortunately, our development team has since changed software and so I am unable to test it.

However, we were able to resolve the error before the switch. We had the wrong business email in the Paypal gateway and putting the correct one in fixed it.
I hope that helps reproduce the error to debug it.

Thanks
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.462 seconds

Facebook Twitter LinkedIn