Posted by ksenzee on September 30, 2008 at 4:37pm
2 followers
| Project: | Simple Paypal Framework |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | ksenzee |
| Status: | needs review |
Issue Summary
There probably ought to be a hook_requirements check for curl, or at least a log entry if curl_init fails. This is especially important because the curl calls happen in simple_paypal_ipn_verify, which is hard to debug since it's normally called when you get an IPN from PayPal.
Comments
#1
Certainly a good idea.
hook_requirements() seem the best way to go.
Can you contribute a patch?
#2
#3
Sure, when I get a minute.
#4
I'm attaching a new .install file for the module with simple_paypal_requirements function (just remove the .txt extension). Sorry it's not a patch -- I'm not sure how to cvs diff a new file on a read-only repo.
#5
thank you for the patch.
I included it in the dev version, and it should be present in tomorrow's tarball.
If it gets sufficient testing, I will create a stable version.