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

Change subject: move paypal payment methods
......................................................................


move paypal payment methods

Change-Id: Idccf48a4b7c754323a1a885be1e7b9d760aa04ee
---
A paypal_gateway/config/payment_methods.yaml
M paypal_gateway/paypal.adapter.php
2 files changed, 5 insertions(+), 6 deletions(-)

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



diff --git a/paypal_gateway/config/payment_methods.yaml 
b/paypal_gateway/config/payment_methods.yaml
new file mode 100644
index 0000000..baf581a
--- /dev/null
+++ b/paypal_gateway/config/payment_methods.yaml
@@ -0,0 +1 @@
+paypal: {  }
diff --git a/paypal_gateway/paypal.adapter.php 
b/paypal_gateway/paypal.adapter.php
index 4d8fd3a..996f466 100644
--- a/paypal_gateway/paypal.adapter.php
+++ b/paypal_gateway/paypal.adapter.php
@@ -188,6 +188,10 @@
                $this->data_transformers = parent::getCoreDataTransformers();
        }
 
+       function getBasedir() {
+               return __DIR__;
+       }
+
        public function doPayment() {
                if ( $this->getData_Unstaged_Escaped( 'recurring' ) ) {
                        $resultData = $this->do_transaction( 'DonateRecurring' 
);
@@ -220,12 +224,6 @@
                                $this->finalizeInternalStatus( 
FinalStatus::COMPLETE );
                                return $result;
                }
-       }
-
-       public function definePaymentMethods() {
-               $this->payment_methods = array(
-                       'paypal' => array(),
-               );
        }
 
        public function getCurrencies( $options = array() ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Idccf48a4b7c754323a1a885be1e7b9d760aa04ee
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Cdentinger <[email protected]>
Gerrit-Reviewer: AndyRussG <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: Cdentinger <[email protected]>
Gerrit-Reviewer: Ejegg <[email protected]>
Gerrit-Reviewer: Ssmith <[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