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.
Hi,
I was wondering how or where does the commerce_subscription_paypal_ipn function get executed? I cannot find any hook in the paypal module referring to that. Also, where does txn_type gets set?
Thanks
Comment | File | Size | Author |
---|---|---|---|
#2 | fixedipn-1296120.patch | 4.48 KB | webadpro |
Comments
Comment #1
rupertj CreditAttribution: rupertj commentedHi Pat,
I was about to say it's an implementation of hook_paypal_ipn from the commerce_paypal module, but I've just had a look at and seems that module now invokes hook_commerce_paypal_ipn_process. I'm not sure if that hook's changed, or I managed to get it horribly wrong, but it used to work for us :) (We've been using some of the commerce modules since their early alphas, so this could be a change.)
If you switch the function name, it should work. I'll patch the module later today, hopefully.
Comment #2
webadpro CreditAttribution: webadpro commentedHello,
Here is a patch to fix a couple of issues I was having with the module.
Comment #3
David D CreditAttribution: David D commentedIt appears this patch got committed to the 10-5 .dev release. Is that correct?
Comment #4
webadpro CreditAttribution: webadpro commentedIm pretty sure in the last dev it was.
Comment #5
Heine CreditAttribution: Heine commentedThis has indeed been fixed in latest dev.