Releases: yabacon/paystack-php
Releases · yabacon/paystack-php
Version 2.0
Changes
- Calls will return an Object of
stdClassor throw exception that includes error fromPaystack API/cURLinstead of
an array. - Root namespace is now
Yabaconinstead ofYabaCon
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()
- for gets, use