From: Chuck Scott Date: Thu, 7 Jun 2018 14:41:25 +0000 (-0400) Subject: Admin Controller now includes the Menu Item in config['menuItem'] to make it easy... X-Git-Tag: v2.10.30^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=74502c447d2051d3cfb730989ceec9f1f7da7b1b;p=WP-Plugins%2Fglm-member-db.git Admin Controller now includes the Menu Item in config['menuItem'] to make it easy for a model to determine which menu was used. Also Upodated some information in the PayPal Payment Processor directory --- diff --git a/controllers/admin.php b/controllers/admin.php index 16fe3837..d30c62e2 100644 --- a/controllers/admin.php +++ b/controllers/admin.php @@ -880,6 +880,9 @@ class glmMembersAdmin extends GlmPluginSupport // Check if this is a re-direct with parameters $args = false; + // Pass the menu to in config in case the model needs to know what menu item was used to get to it. + $this->config['menuItem'] = $menuItem; + // Instantiate the model and ask it to perform the work $model = new $className($this->wpdb, $this->config); $results = $model->modelAction($actionData); diff --git a/lib/paymentProcessors/PayPal/PayPal_Account_Setup.txt b/lib/paymentProcessors/PayPal/PayPal_Account_Setup.txt index c71517e4..a53b8f2a 100644 --- a/lib/paymentProcessors/PayPal/PayPal_Account_Setup.txt +++ b/lib/paymentProcessors/PayPal/PayPal_Account_Setup.txt @@ -27,7 +27,9 @@ Create a Merchant account - You should see two sandbox accounts already setup, a Business (for selling) and a Personal account (for buying) * Click on the "Facilitator" account then click "Profile" + - Note the setup of the account and the "Settings" tab + * Close the Facilitator account profile and click on the "Buyer" account then on "Profile" - Note that under "Funding" that the account has a $9,999.00 balance that can be used for "Sandbox" purchases diff --git a/lib/paymentProcessors/PayPal/READ_ME_FIRST b/lib/paymentProcessors/PayPal/READ_ME_FIRST index 3d6437aa..de05f078 100644 --- a/lib/paymentProcessors/PayPal/READ_ME_FIRST +++ b/lib/paymentProcessors/PayPal/READ_ME_FIRST @@ -34,6 +34,11 @@ Also note that if an "invoice_number" is supplied in the PayPal "transactions" d There is a proceedure for creating new PayPal accounts and setting them up for Client-side REST Integration in "PayPal_Account_Setup.txt". +Here's a URL to the PayPal Community forum. + + https://www.paypal-community.com/t5/PayPal-Community/ct-p/en + + Integration Specifics ---------------------