You are here

function pay_method_gateway::gateway_headers in Pay 7

Same name and namespace in other branches
  1. 6 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 124
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();
}