7.2 Configuring your website
Now we have to update our settings.php of our website. This should be done only once (like the sandbox case).Go to '06Demo', open the PayPal folder and edit the settings.php with notepad++.
Make sure that
$SettingsPayPal['sandbox_mode'] is set to False and
the $SettingsPayPal['auth_token_real'] contains your real Identity Token.
Do not modify your sandbox Identity token.
As you can see the two tokens are different one is for the real mode and the other is for the testing (sandbox) mode. These tokens are fixed and no change is needed anymore.
If you want to pass from real mode to sandbox again, just change the attribute $SettingsPayPal['sandbox_mode'].
Really easy don't you think?
//////////////////////////////////// ////MODIFY the PayPal Settings//// /////////////////////////////////// //1. The auth_token of the real account seller. $SettingsPayPal['auth_token_real'] = 'ZZ3T3O60tSCpkQ20OgT4wBdufFJk_I1UUOan-SEeQB kISC9z-VsU66pLkkO'; //2. True means TEST MODE SANDBOX - False means REAL MODE $SettingsPayPal['sandbox_mode'] = False; //3. The auth_token of the sandbox account seller. $SettingsPayPal['auth_token_sandbox'] = 'Ixx54gU5bwkrY1S_rdNH14p1vsFVNflYaViAXOsdaC7UbjphjI 6xB53Q0sG' //4. The Failed Transaction Message $SettingsPayPal['completely_failed_message'] = 'Your transaction has been failed.Update the SandBox Token at settings.php
Please contact with us at company@email.com';