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

400 Error when creating order #13

Open
ghost opened this issue May 5, 2018 · 1 comment
Open

400 Error when creating order #13

ghost opened this issue May 5, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented May 5, 2018

No description provided.

@femtocat
Copy link

It appears that with some versions of php curl wrapper POST requests that it forms are somewhat incorrect.
I solved that problem by adding these lines to the Geary.php (after $curl_data declaration, line 300)

if( $data['request_method'] == "POST" ) {
    $curl_data[CURLOPT_POSTFIELDS] = "CYKA_BLYAT";
}

Not the most elegant solution, i agree, but it does work.

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