Error in Sandbox coding?
In testing PayPal sandbox I'v found that eCart code will not work, I need to comment out $WA_PayPal_PayPal_API_TestMode and add "true" instead, after that all works as expected
$WA_PP_ECO_Set_params[0][$nextIndex] = "UseSandbox";
$WA_PP_ECO_Set_params[1][$nextIndex] = "true";
//$WA_PP_ECO_Set_params[1][$nextIndex] = "".($WA_PayPal_PayPal_API_TestMode) ."";
The gateway code is as follows
$WA_eCart_Debug_Mode = true;
// start gateway PayPal
// start settings PayPal API
$WA_PayPal_PayPal_API_TestMode = true;
if ($WA_PayPal_PayPal_API_TestMode) {