• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ChargeIgniter: Chargify API Class

#4
[eluser]ckm5[/eluser]
[quote author="ckm5" date="1335563356"]Thanks for this, it's great.

I'm using it to pull data from Chargify and am now trying to create new records. Calling $this->chargify->create_customer($customer_array) doesn't seem to return anything. I don't see evidence of activity on the Chargify side, so I'm not sure exactly what is going on.

I've scrubbed $customer_array to make sure the field names & data are what Chargify expects.

Any other ideas?

Thx.

Chris.[/quote]

I figured it out - in the ChargeIgniter.php file, you can set debug to true and get some debugging inline - I was expecting any error to show up in error.log (or where ever PHP errors are being saved) but that wasn't the case.

Turns out there was some bad data related to CC info. Months MUST be either 1 or 2 digits, no leading zero, CC data must be numerical only and Chargify doesn't recognize industry standard CC test numbers, only 1 for good card and 2 for bad card.

Otherwise, brilliant library, saved me probably a month of work.

Thanks so much.

Chris.


Messages In This Thread
ChargeIgniter: Chargify API Class - by El Forum - 06-30-2010, 03:55 PM
ChargeIgniter: Chargify API Class - by El Forum - 06-29-2011, 03:31 AM
ChargeIgniter: Chargify API Class - by El Forum - 04-27-2012, 02:49 PM
ChargeIgniter: Chargify API Class - by El Forum - 04-27-2012, 05:54 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.