gocardless-pro-php icon indicating copy to clipboard operation
gocardless-pro-php copied to clipboard

Malformed Response Exception

Open redalys opened this issue 9 months ago • 0 comments

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" => "[email protected]" ], "links" => [ "billing_request" => "BRQ123" ] ] ]);

redalys avatar Nov 08 '23 11:11 redalys