You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
@zofe Since $client->customers()->remove('CUXXXXXXX') It will remove the customer if exist, and because that bug it will be always throw an exception, I catch the whole Exception in try catch clause and continue the process.
I hope this help 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
null
but 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
The text was updated successfully, but these errors were encountered: