Closed ankith83 closed 10 years ago
Master branch is 2.x compliant. Make sure you have your paypal_ipn_config.php file in app/Config and it matches the default (provided in the plugin) in terms of keys.
I did that, I made changes to the default paypal_ipn_config.php and copied it to app/Config. The error changed to Fatal error: Class 'PaypalIpnConfig' not found in .........\app\Plugin\PaypalIpn\View\Helper\PaypalHelper.php on line 20.
Are you still having this issue? Does your paypal_ipn_config.php define the PaypalIpnConfig class as it should?
I'm a little puzzled, by the error message. line 20 of the helper is a comment.
I'm guessing you're not running the current master branch of this repo.
Thanks Nick,
I downloaded the latest copy and it worked well. Is there a way to set the cancel url in this plugin?
I added below to the array list in $this->Paypal->button
"cancel_return"=>"http://www.example.com"
This worked like charm. I will strongly recommend this plugin to other cakephp folks.
Thanks mate.
Thanks! If you want, go ahead and add "cancel_return" to the config default and make a pull request. I'll be sure to add it. :-)
Hi, I did every thing mentioned in the documentation, but I am getting Fatal error. Is this plugin built for CakePHP2.x? Attached is the screen capture.