When I submit form created with Form API, the POST variable contains values like form_token, form_build and form_id.
The problem is, I need to send submitted form values to external website. Is it possible to remove such values from POST request?
In particular, I am implementing redirection callback to commerce payment method
This callback is defined within Drupal Commerce. The callback works OK, but how can I remove the mentioned form parameters? (The third party payment service does not accept them in received POST variable).
I am not sure whether I can just unset them in hook_form_alter. This callback is just part of the order process and I am not sure if I can just unset it.