Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | simple_paypal.install.txt | 1.05 KB | ksenzee |
Comments
Comment #1
kbahey CreditAttribution: kbahey commentedCertainly a good idea.
hook_requirements() seem the best way to go.
Can you contribute a patch?
Comment #2
kbahey CreditAttribution: kbahey commentedComment #3
ksenzeeSure, when I get a minute.
Comment #4
ksenzeeI'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.
Comment #5
kbahey CreditAttribution: kbahey commentedthank 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.