In the PayPalPayment.php from the ecommerce module (ecommerce/code/payments) it states that you need to configure PayPal using
PayPalPayment::setMyVariable(value);
in www.mysite.com/ecommerce/_config.php file
but i am not sure on how exactly to do this.
Help please