When receiving the IPN upon the renewal of a recurring subscription, I get the following error:

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'IV3150F7PYTG6' in 'where clause': UPDATE {lm_paypal_subscribers} SET started=:db_update_placeholder_0, status=:db_update_placeholder_1 WHERE (IV3150F7PYTG6 IS NULL ) ; Array ( [:db_update_placeholder_0] => 1367067458 [:db_update_placeholder_1] => 3 ) in drupal_write_record()

IV3150F7PYTG6 is the subscr_id

It seems to me that there is a bug in the lm_paypal_add_subscriber function (line 1627).
Instead of
$update['subscr_id'] = $subscr_id;

should it be

$object['subscr_id'] = $subscr_id;
    $update[] = 'subscr_id';

?

Regards

Comments

amittarkar’s picture

Thanks, request you to commit the patch