Skip to content

Releases: yabacon/paystack-php

Version 2.0

26 Apr 21:39
Compare
Choose a tag to compare

Changes

  • Calls will return an Object of stdClass or throw exception that includes error from Paystack API / cURL instead of
    an array.
  • Root namespace is now Yabacon instead of YabaCon

Added

  • Pages
  • Subscriptions
  • Use ->fetch to get a single item or call singular form with id/code
  • Use ->list to get a list of items or call plural form with paging parameters
  • Shortcuts
    • for gets, use $paystack->{resource}(id)
    • for list, use $paystack->{resource}s()