The PayPal JS SDK works fine in sandbox mode, but in Live I keep receiving a 500 error.
I am successfully authorizing credit card payments using the SDK but an error message in
CodePudding user response:
In the PHP...
if($gateway_data['dev_mode'] == true)
..ensure this configured value is set to false
so that the code communicates with the PayPal live/production endpoints, as well as changing the clientId and secret to be from the an application from the "Live" tab of My Apps & Credentials