Index: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php |
— | — | @@ -247,7 +247,7 @@ |
248 | 248 | $this->debugarray[] = 'Token MISMATCH'; |
249 | 249 | } |
250 | 250 | |
251 | | - $this->refreshGatewayValueFromSource( 'token' ); |
| 251 | + $this->refreshGatewayValueFromSource( 'token' ); |
252 | 252 | return $checkResult; |
253 | 253 | } |
254 | 254 | |
— | — | @@ -1285,7 +1285,7 @@ |
1286 | 1286 | $utm_source_parts[2] = 'pp'; |
1287 | 1287 | $data['utm_source'] = implode( ".", $utm_source_parts ); |
1288 | 1288 | $data['gateway'] = 'paypal'; |
1289 | | - $data['currency_code'] = $data['currency']; |
| 1289 | + $data['currency_code'] = isset( $data['currency'] ) ? $data['currency'] : ''; |
1290 | 1290 | |
1291 | 1291 | // Add our response vars to the data object. |
1292 | 1292 | $this->dataObj->addData( $data ); |
— | — | @@ -1302,7 +1302,6 @@ |
1303 | 1303 | |
1304 | 1304 | protected function getPaypalData() { |
1305 | 1305 | $paypalkeys = array( |
1306 | | - 'gateway', |
1307 | 1306 | 'contribution_tracking_id', |
1308 | 1307 | 'comment', |
1309 | 1308 | 'referrer', |