jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/375396 )

Change subject: Only use Title class on doPayment
......................................................................


Only use Title class on doPayment

Change-Id: I988c69a596bd0554c0744b32476bfac8d59ee112
---
M paypal_gateway/express_checkout/config/transformers.yaml
M paypal_gateway/express_checkout/paypal_express.adapter.php
2 files changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/paypal_gateway/express_checkout/config/transformers.yaml 
b/paypal_gateway/express_checkout/config/transformers.yaml
index a13bb89..b92ce80 100644
--- a/paypal_gateway/express_checkout/config/transformers.yaml
+++ b/paypal_gateway/express_checkout/config/transformers.yaml
@@ -2,4 +2,3 @@
 - IsoDate
 - CountryValidation
 - DonorLocale
-- PaypalExpressReturnUrl
diff --git a/paypal_gateway/express_checkout/paypal_express.adapter.php 
b/paypal_gateway/express_checkout/paypal_express.adapter.php
index 89069b9..de51581 100644
--- a/paypal_gateway/express_checkout/paypal_express.adapter.php
+++ b/paypal_gateway/express_checkout/paypal_express.adapter.php
@@ -365,6 +365,7 @@
        }
 
        public function doPayment() {
+               $this->config['transformers'][] = 'PaypalExpressReturnUrl';
                if ( $this->getData_Unstaged_Escaped( 'recurring' ) ) {
                        // Build the billing agreement and get a token to 
redirect.
                        $resultData = $this->do_transaction( 
'SetExpressCheckout_recurring' );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I988c69a596bd0554c0744b32476bfac8d59ee112
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Mepps <[email protected]>
Gerrit-Reviewer: AndyRussG <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>
Gerrit-Reviewer: XenoRyet <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to