Reply
Member
Posts: 1
Registered: ‎07-06-2021

Void Transaction won't work on my LIVE API Keys

[ Edited ]

I implemented a void button to void transactions in my woocommerce website. The VOID feature works using my Sandbox/TEST API Keys, the transaction voided automatically when I sign in to authorize.net. But why it won't work on my PRODUCTION/LIVE API Keys?

I only changed this line of code:

FROM:
response controller-executeWithApiResponse(netauthorizeapiconstantsANetEnvironment::SANDBOX);

INTO:
response controller-executeWithApiResponse(netauthorizeapiconstantsANetEnvironment::PRODUCTION);