yabacon / paystack-php

A PHP Wrapper for Paystack API - https://www.paystack.com
MIT License
109 stars 70 forks source link

TypeError Yabacon\Paystack\Helpers\Router::Yabacon\Paystack\Helpers\{closure}(): Argument #1 ($params) must be of type array, string given #39

Open DanielRobert1 opened 1 year ago

DanielRobert1 commented 1 year ago

Problem/Motivation

$this->paystack->subscription->fetch($subscription_code)

Subscription code is a string but its giving an error it requires an array