We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using the service like this:
public function sendIpnValidateResponse() { $ipn = new PaypalIPNListener(); $ipn->use_sandbox = config('paypal.mode') == 'sandbox'; try { $verified = $ipn->processIpn(); } catch (\Exception $e) { \Log::error('Problem with IPN validation'); \Log::error($e->getMessage()); $verified = false; return $verified; } \Log::debug('IPN Validation response is' . ($verified ? 'VERIFIED' : 'INVALID')); \Log::debug('Report:'); \Log::debug($ipn->getTextReport()); return $verified; }
And I see this in the logs:
[2019-01-30 23:45:00] staging.DEBUG: IPN Validation response isVERIFIED [2019-01-30 23:45:00] staging.DEBUG: Report: [2019-01-30 23:45:00] staging.ERROR: Array to string conversion {"exception":"[object] (ErrorException(code: 0): Array to string conversion at /var/www/html/platform/vendor/fahim/laravel5-paypal-ipn/src/PaypalIPNListener.php:244) [stacktrace] #0 /var/www/html/platform/vendor/fahim/laravel5-paypal-ipn/src/PaypalIPNListener.php(244): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8, 'Array to string...', '/var/www/html/p...', 244, Array) #1 /var/www/html/platform/app/Services/AdaptivePaypalService.php(155): Fahim\\PaypalIPN\\PaypalIPNListener->getTextReport() #2 /var/www/html/platform/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(237): App\\Services\\AdaptivePaypalService->sendIpnValidateResponse()
Seems there is a problem with the getTextReport() method.
getTextReport()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am using the service like this:
And I see this in the logs:
Seems there is a problem with the
getTextReport()
method.The text was updated successfully, but these errors were encountered: