Admin Controller now includes the Menu Item in config['menuItem'] to make it easy...
authorChuck Scott <cscott@gaslightmedia.com>
Thu, 7 Jun 2018 14:41:25 +0000 (10:41 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Thu, 7 Jun 2018 14:41:25 +0000 (10:41 -0400)
Also Upodated some information in the PayPal Payment Processor directory

controllers/admin.php
lib/paymentProcessors/PayPal/PayPal_Account_Setup.txt
lib/paymentProcessors/PayPal/READ_ME_FIRST

index 16fe383..d30c62e 100644 (file)
@@ -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);
index c71517e..a53b8f2 100644 (file)
@@ -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
index 3d6437a..de05f07 100644 (file)
@@ -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
 ---------------------