Mepps has uploaded a new change for review. (
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, 2 insertions(+), 2 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface
refs/changes/96/375396/1
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..c30074f 100644
--- a/paypal_gateway/express_checkout/paypal_express.adapter.php
+++ b/paypal_gateway/express_checkout/paypal_express.adapter.php
@@ -349,7 +349,7 @@
// Add the Signature field to all API calls, if necessary.
// Note that this gives crappy security, vulnerable to replay
attacks.
- // The signature is static, not a checksum of the request.
+ // The signature is static, not a tchecksum of the request.
if ( !$this->isCertificateAuthentication() ) {
foreach ( $this->transactions as $_name => &$info ) {
if ( isset( $info['request'] ) ) {
@@ -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: newchange
Gerrit-Change-Id: I988c69a596bd0554c0744b32476bfac8d59ee112
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Mepps <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits