jenkins-bot has submitted this change and it was merged.

Change subject: Add required gross_currency to PP refunds
......................................................................


Add required gross_currency to PP refunds

Change-Id: I73fecdc6c0938587d1c1c7fb569459ab2d18d9ba
---
M PaymentProviders/PayPal/Job.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Cdentinger: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/PaymentProviders/PayPal/Job.php b/PaymentProviders/PayPal/Job.php
index 56d6e1f..97a1245 100644
--- a/PaymentProviders/PayPal/Job.php
+++ b/PaymentProviders/PayPal/Job.php
@@ -83,6 +83,7 @@
                        // FIXME represent special case as var_map config 
override?
                        if ( $msg_type === 'refund' ) {
                                $new_msg->gateway_refund_id = 
$request['txn_id'];
+                               $new_msg->gross_currency = $request['mc_gross'];
                        }
 
                        // FIXME once recurring uses normalized msg it needs 
this too

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I73fecdc6c0938587d1c1c7fb569459ab2d18d9ba
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/SmashPig
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
Gerrit-Reviewer: Cdentinger <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to