Index: civicrm/trunk/sites/all/modules/paypal_audit/paypal_audit.module |
— | — | @@ -213,7 +213,7 @@ |
214 | 214 | $formatted_trxn['gateway'] = strtolower( $gateway ); |
215 | 215 | $formatted_trxn['gateway_txn_id'] = ( $gateway == 'PayflowPro' ) ? $trxn[ $columns[ 'Transaction ID' ]] : $trxn[ $columns[ 'PayPal Transaction ID']]; |
216 | 216 | $formatted_trxn['original_currency'] = $trxn[ $columns[ 'Currency Symbol' ]]; |
217 | | - $formatted_trxn['gross'] = $trxn[ $columns[ 'Amount' ]]; |
| 217 | + $formatted_trxn['gross'] = $trxn[ $columns[ 'Amount' ]]/100; |
218 | 218 | $formatted_trxn['date'] = strtotime( $trxn[ $columns[ 'Time' ]] ); |
219 | 219 | |
220 | 220 | array_push( $trxns_formatted, $formatted_trxn ); |