function pay_method_gateway::gateway_headers in Pay 6
Same name and namespace in other branches
- 7 includes/handlers/pay_method_gateway.inc \pay_method_gateway::gateway_headers()
HTTP headers that should be sent to the gateway provider.
For example, if your gateway provider requires XML:
function gateway_headers() { return array('Content-Type' => 'text/xml'); }
1 call to pay_method_gateway::gateway_headers()
- pay_method_gateway::execute in includes/
handlers/ pay_method_gateway.inc
File
- includes/
handlers/ pay_method_gateway.inc, line 122 - The base class for credit card payment activities.
Class
- pay_method_gateway
- @file The base class for credit card payment activities.
Code
function gateway_headers() {
return array();
}