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

Malformed Response Exception #176

Open
redalys opened this issue Nov 8, 2023 · 0 comments
Open

Malformed Response Exception #176

redalys opened this issue Nov 8, 2023 · 0 comments

Comments

@redalys
Copy link

redalys commented Nov 8, 2023

I am using version 5.4 of gocardless pro and it does not work for me, the library always returns that error, example:

$access_token = 'my_production_token';
$client = new \GoCardlessPro\Client(array(
'access_token' => $access_token,
'environment' => \GoCardlessPro\Environment::LIVE
));

$client->billingRequestFlows()->create([
"params" => [
"redirect_uri" => "https://my-company.com/landing",
"exit_uri" => "https://my-company.com/exit",
"prefilled_customer" => [
"given_name" => "Frank",
"family_name" => "Osborne",
"email" => "frank.osborne@acmeplc.com"
],
"links" => [
"billing_request" => "BRQ123"
]
]
]);

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