Hi all
Thank you first for this helpful package the make life easier to deal with gocardless.
I just tried to remove a customer using the remove method like this:
$cliene->customers()->remove('CUXXXXXXX')
I got this error
Trying to get property of non-object vendor/gocardless/gocardless-pro/lib/Services/BaseService.php:86 vendor/gocardless/gocardless-pro/lib/Services/BaseService.php(65): GoCardlessPro\\Services\\BaseService->getUnenvelopedBody(NULL) gocardless/gocardless-pro/lib/Services/CustomersService.php(171)
I think the issue is the remove customer request is performed as DELETE, and the response from the api is null but in BaseService.php line 86 it's decoded the response to json but the response here is null.
The package version is "nestednet/gocardless-laravel": "^0.2.0"
Thank you
Hi all
Thank you first for this helpful package the make life easier to deal with gocardless.
I just tried to remove a customer using the remove method like this:
$cliene->customers()->remove('CUXXXXXXX')I got this error
Trying to get property of non-object vendor/gocardless/gocardless-pro/lib/Services/BaseService.php:86 vendor/gocardless/gocardless-pro/lib/Services/BaseService.php(65): GoCardlessPro\\Services\\BaseService->getUnenvelopedBody(NULL) gocardless/gocardless-pro/lib/Services/CustomersService.php(171)I think the issue is the remove customer request is performed as DELETE, and the response from the api is
nullbut in BaseService.php line 86 it's decoded the response to json but the response here isnull.The package version is
"nestednet/gocardless-laravel": "^0.2.0"Thank you