Error message when using coupons

I get the following error when I try to purchase any membership level on my site:

"There was an unknown error encountered with your payment. Please contact the site administrator."

I am using Authorize.net as a payment processor. Currently the account at Authorize.net is set to test mode, and the mode in the settings of Membership is set to Live (it wouldn't work at all in Sandbox mode).

This issue is almost identical to this one which never got resolved:
https://premium.wpmudev.org/forums/topic/membership-plugin-coupons-not-working-with-authorizenet