[eluser]wowdezign[/eluser]
I have an application set up using Paypal_Lib. Everything works fine until I try to update the DB.
I can email everything in
Code:
$this->paypal_lib->ipn_data
. But if I try to run
Code:
if($this->paypal_lib->ipn_data['txn_type'] == 'subscr_signup'){
$this->db->where('id',$this->paypal_lib->ipn_data['user_id']);
$this->db->update('users',array('rights'=>2));
}
the db doesn't get updated.
Anyone seen this before? I have tried everything (except the solution, obviously
) and I can't find the problem.
I also could use some help on how to see the DB error that is being produced (if there is one).