I implemented a capture credit card with auth.net and it worked fine in sandbox environment but now I have changed it to live.
$response = $controller->executeWithApiResponse(\net\authorize\api\constants\ANetEnvironment::PRODUCTION);
I have also changed my $merchant authentication values to production credentials:
$merchantAuthentication->setName(Settings::get('auth_net_api_id'));
$merchantAuthentication->setTransactionKey(Settings::get('auth_net_api_key'));
When using test card I get the error:
An error occurred during processing. Call Merchant Service Provider.
When using actual card the request does not get handled and results in 500 error.