| 1 |
<?php // $Id: pay_method_gateway_payflowpro.inc,v 1.2 2009/04/28 03:32:01 vauxia Exp $ |
<?php // $Id: pay_method_gateway_payflowpro.inc,v 1.3 2009/04/30 19:18:07 vauxia Exp $ |
| 2 |
|
|
| 3 |
/** |
/** |
| 4 |
* @file |
* @file |
| 44 |
$request[] = $key .'['. $len .']='. $val; |
$request[] = $key .'['. $len .']='. $val; |
| 45 |
} |
} |
| 46 |
} |
} |
|
drupal_set_message(print_r($request, 1)); |
|
| 47 |
return join('&', $request) .'"'; |
return join('&', $request) .'"'; |
| 48 |
} |
} |
| 49 |
|
|
| 159 |
'CVV2' => $this->cc_ccv2, // (3-4 digits) |
'CVV2' => $this->cc_ccv2, // (3-4 digits) |
| 160 |
'FIRSTNAME' => $this->first_name, // (30 chars) |
'FIRSTNAME' => $this->first_name, // (30 chars) |
| 161 |
'LASTNAME' => $this->last_name, // (30 chars) |
'LASTNAME' => $this->last_name, // (30 chars) |
| 162 |
'STREET' => '', // (30 chars) |
'STREET' => $this->billto['street1'], // (30 chars) |
| 163 |
'ZIP' => '', // (5-9 chars) |
'ZIP' => $this->billto['zip'], // (5-9 chars) |
| 164 |
|
|
| 165 |
// Required for Capture, Void, Inquiry, after Sale or Auth transaction. |
// Required for Capture, Void, Inquiry, after Sale or Auth transaction. |
| 166 |
'ORIGID' => '', // (12 chars) |
'ORIGID' => $this->identifier, // (12 chars) |
| 167 |
|
|
| 168 |
// Inquiry transaction using the CUSTREF field, also includes these. |
// Inquiry transaction using the CUSTREF field, also includes these. |
| 169 |
'STARTTIME' => '', // (14 chars: yyyymmddhhmmss) |
'STARTTIME' => '', // (14 chars: yyyymmddhhmmss) |
| 223 |
'NAME' => '', // (15 chars) |
'NAME' => '', // (15 chars) |
| 224 |
'PONUM' => '', // (15 chars) |
'PONUM' => '', // (15 chars) |
| 225 |
'SHIPTOSTATE' => '', // (10 chars) 2-digit (US) or full name. |
'SHIPTOSTATE' => '', // (10 chars) 2-digit (US) or full name. |
| 226 |
'STATE' => '', // (2 chars) |
'STATE' => $this->billto['state'], // (2 chars) |
| 227 |
); |
); |
| 228 |
return $data; |
return $data; |
| 229 |
} |
} |