Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in list items #643

Closed
juanxodj opened this issue Jun 13, 2024 · 0 comments
Closed

Error in list items #643

juanxodj opened this issue Jun 13, 2024 · 0 comments

Comments

@juanxodj
Copy link

juanxodj commented Jun 13, 2024

When I want to list items like this:

$plans = $provider->listPlans();
$products = $provider->listProducts();

I am getting this error:

image

Apparently in the url parameters 'true' is being sent as a string and not as a boolean in total_required.

Even passing parameters to the function as the documentation says it returns the same error:

$fields = ['id', 'product_id', 'name', 'description'];
$plans = $provider->listPlans(1, 30, true, $fields);

My code:

image
srmklive added a commit that referenced this issue Jun 24, 2024
srmklive added a commit that referenced this issue Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant