How to go from sandbox to production
-
Hi, I am currently using this plugin and it works in sandbox, now im trying to go to production
I already have an approved braintree paypal account
However when I use this plugin and go to “connect with braintree” and login, it requires me to re-enter in all my information including my FULL SSN when i only needed to enter last 4 digits of my SSN when i first created my braintree account
is there a way to go from sandbox to production WITHOUT going through the “connect with braintree” where I have to enter my FULL SSL
From reading the instructions offered from Braintree’s official site it says I just need to put this code in
require_once(plugins_url() . ‘/woocommerce-gateway-paypal-powered-by-braintree/braintree_sdk/lib/Braintree.php’);
Braintree_Configuration::environment(‘production’);
Braintree_Configuration::merchantId(‘YOUR_PRODUCTION_MERCHANT_ID’);
Braintree_Configuration::publicKey(‘YOUR_PRODUCTION_PUBLIC_KEY’);
Braintree_Configuration::privateKey(‘YOUR_PRODUCTION_PRIVATE_KEY’);NOTE: this code here is not in the official braintree instructions but it has been recommended by other sites to use this in order to fix the issue: require_once(plugins_url() . ‘/woocommerce-gateway-paypal-powered-by-braintree/braintree_sdk/lib/Braintree.php’);
however, when I do, it gives me the following error: “Fatal error: Class ‘Braintree_Configuration’ not found in /home4/fierytycoon/public_html/resumego.net/wp-content/themes/divi-childtheme/functions.php on line 136”
Line 136 refers to the first line of the code used “Braintree_Configuration::environment(‘production’);”
how do I fix this error and get myself from sandbox testing mode to production live mode?
- The topic ‘How to go from sandbox to production’ is closed to new replies.