Jump to content

darenw

New Members
  • Posts

    3
  • Joined

  • Last visited

darenw's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Sorry but I am new to this could you please give a example
  2. Even using this I get the same results 0.15 != 0.15 should be equal and not step into the log. if($this->Paypal->ipn_data['mc_gross'] != $package['Package']['price']) { $this->log('PAYPALIPN: FAILURE! Wrong price: '.$this->Paypal->ipn_data['mc_gross'].' == '.$package['Package']['price'], 'payment'); Error log msg: 2012-10-04 16:48:41 Payment: PAYPALIPN: FAILURE! Wrong price: 0.15 == 0.15 2012-10-04 16:48:41 Payment: PAYPALIPN: End function
  3. The below keeps returning false with the same values. Why? Code: if($this->Paypal->ipn_data['mc_gross'] != money_format('%i', $package['Package']['price'])) { $this->log('PAYPALIPN: FAILURE! Wrong price: '.$this->Paypal->ipn_data['mc_gross'].' == '.$package['Package']['price'], 'payment'); Error log msg: 2012-10-04 16:48:41 Payment: PAYPALIPN: FAILURE! Wrong price: 0.15 == 0.15 2012-10-04 16:48:41 Payment: PAYPALIPN: End function
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.