Awight has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/164393

Change subject: Killall original_
......................................................................

Killall original_

Change-Id: I14c2bc80a58751be5a341f885917682b563764fa
---
M activemq_stomp/activemq_stomp.php
1 file changed, 2 insertions(+), 9 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface 
refs/changes/93/164393/1

diff --git a/activemq_stomp/activemq_stomp.php 
b/activemq_stomp/activemq_stomp.php
index bcfec52..89b7c8a 100644
--- a/activemq_stomp/activemq_stomp.php
+++ b/activemq_stomp/activemq_stomp.php
@@ -175,7 +175,6 @@
  * PAssed both ISO and country code, no need to look up
  * 'gateway' = payflowpro (is this correct?)
  * 'date' is sent as $date("r") so it can be translated with strtotime like 
Paypal transactions (correct?)
- * 'gross', 'original_gross', and 'net' are all set to amount, no fees are 
included in these transactions
  * Payflows ID sent in the transaction response is assigned to 
'gateway_txn_id' (PNREF)
  * Order ID (generated with transaction) is assigned to 
'contribution_tracking_id'?
  * Response from Payflow is assigned to 'response'
@@ -204,11 +203,8 @@
                'payment_submethod' => $transaction['payment_submethod'],
                'response' => $transaction['response'],
                'currency' => $transaction['currency_code'],
-               'original_currency' => $transaction['currency_code'],
-               'original_gross' => $transaction['amount'],
                'fee' => '0',
                'gross' => $transaction['amount'],
-               'net' => $transaction['amount'],
                'user_ip' => $transaction['user_ip'],
                //the following int casting fixes an issue that is more in 
Drupal/CiviCRM than here.
                //The code there should also be fixed.
@@ -256,11 +252,8 @@
                'street_address' => 'street',
                'state_province' => 'state',
                'postal_code' => 'zip',
-//             'currency' => 'currency_code',
-               'original_currency' => 'currency_code',
-               'original_gross' => 'amount',
-//             'gross' => 'amount',
-//             'net' => 'amount',
+               'currency' => 'currency_code',
+               'gross' => 'amount',
        );
 
        foreach ( $rekey as $stomp => $di ){

-- 
To view, visit https://gerrit.wikimedia.org/r/164393
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I14c2bc80a58751be5a341f885917682b563764fa
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Awight <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to