Welcome Guest, Not a member yet? Register   Sign In
Another Paypal_Lib Problem
#1

[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 Smile) 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).


Messages In This Thread
Another Paypal_Lib Problem - by El Forum - 10-20-2009, 04:00 AM
Another Paypal_Lib Problem - by El Forum - 10-20-2009, 04:36 AM
Another Paypal_Lib Problem - by El Forum - 10-20-2009, 07:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB