+ Reply to Thread
Results 1 to 3 of 3
Thread: Api Issues
-
06-06-2012 07:16 PM #1Member
- Join Date
- May 2011
- Posts
- 38
Api Issues
Ok, banging my head here and this is what I have found

Using the simple coupon script in the coupon api documentation, the latest Prosperent_Api.php does not seem to work.
However, if I replace Prosperent_Api.php to an older version
( //constants
const VERSION = '2.0.8' -> '2.0.4' )
there are not any problems printing the data.
With '2.0.8' I am able to
and get the data, but the iteration(as presented in the simple coupon script in the coupon api documentation) fails and does not give any output, as far as I can tell.Code:print_r($prosperentApi->getCoupons());
-
06-07-2012 10:34 AM #2
Try:
I'll update that in the documentation...Code:$prosperentApi->getData()
-
06-07-2012 05:06 PM #3Member
- Join Date
- May 2011
- Posts
- 38
Thanks,
Both Api versions are pulling the same results with the change:
$prosperentApi->getData()
looks good

Reply With Quote