Join Free
  • Inbox
    + Reply to Thread
    Results 1 to 3 of 3

    Thread: Api Issues

    1. #1

      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
      Code:
      print_r($prosperentApi->getCoupons());
      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.

    2. #2
      Administrator Prosperent Andrew's Avatar
      Join Date
      Apr 2011
      Location
      Colorado Springs, CO
      Posts
      246
      Try:

      Code:
      $prosperentApi->getData()
      I'll update that in the documentation...

    3. #3

      Thumbs up

      Thanks,
      Both Api versions are pulling the same results with the change:
      $prosperentApi->getData()

      looks good

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts