in the globals, these two settings should not be enclosed in quotes:
$WAGLOBAL_Gateway = "2"; //Enter the appropriate value based on the above key. PayPal is specified by default.
$WAGLOBAL_Test_Mode = "false"; //Set to true if you are testing your shopping cart and do not want to send information to your payment gateway.
Please remove the quotes:
$WAGLOBAL_Gateway = 2; //Enter the appropriate value based on the above key. PayPal is specified by default.
$WAGLOBAL_Test_Mode = false; //Set to true if you are testing your shopping cart and do not want to send information to your payment gateway.