Connecting Authorize.net
If you already have a merchant account through Authorize.net (often bundled with a traditional terminal or PCI-compliant gateway), you can connect it to Animal Friends OS instead of (or in addition to) Stripe.
Before you start
You need three credentials from your Authorize.net merchant portal:
- API Login ID — typically 8-15 alphanumeric characters
- Transaction Key — typically 16 characters
- Signature Key (optional but strongly recommended) — for webhook verification
To find these in Authorize.net:
- Log in to https://account.authorize.net
- Go to Account → Settings → API Credentials & Keys
- Generate a new Transaction Key and Signature Key if you do not have them already (for security, never reuse old keys)
Connecting from the OS
In Animal Friends OS, go to Settings → Billing → Payment Processor → Authorize.net. You will see three input fields:
- API Login ID
- Transaction Key
- Signature Key
Paste each one and click Connect & Test. The OS sends a test API call (\$0.00, no charge) to verify the credentials work. You should see a green success banner within 5 seconds.
If you see "Authentication failed", double-check that you copied the keys exactly — Authorize.net keys are case-sensitive and have no whitespace.
Sandbox vs Live
Authorize.net offers separate sandbox and live environments. Make sure you are in the right one:
- For testing — toggle Use sandbox before connecting, and use sandbox credentials
- For production — leave the toggle off and use live credentials
You can switch back and forth, but real charges only happen on the live environment.
Test a real charge
After connecting:
- Go to a client profile
- Click Charge card → \$1.00 → use a real card
- Confirm the charge
The transaction should appear in your Authorize.net portal within 60 seconds under Reports → Transaction Statistics. Refund it immediately from the OS or from Authorize.net.
Setting up webhooks (recommended)
For real-time notifications when charges succeed or fail (especially for text-to-pay), you should configure a webhook:
- In Authorize.net → Account → Settings → Webhooks
- Add endpoint: https://animalfriendsos.app/api/billing/webhooks/authorizenet
- Subscribe to: net.authorize.payment.authcapture.created, net.authorize.payment.refund.created, net.authorize.customer.subscription.suspended
- Save the Signature Key Authorize.net shows you, paste it back into the OS connection settings
Without webhooks, the OS still works — but you may have a 30-60 second delay between a customer paying via text-to-pay and your dashboard reflecting it.
Stripe vs Authorize.net — which should you use?
If you are starting from scratch, Stripe is faster to set up and has better docs. If you already have Authorize.net through a hardware terminal vendor (like Clover, Dejavoo, or a bank-supplied card reader), Authorize.net keeps you on the same merchant account so reconciliation is simpler.
You can connect both — assign one as the default, and use the other for specific scenarios (e.g., Authorize.net for in-person, Stripe for online widget bookings).
Troubleshooting
- "E00007: User authentication failed" — wrong API Login ID or Transaction Key. Regenerate the Transaction Key in your Authorize.net portal and try again.
- "E00027: The transaction was unsuccessful" — usually means the test card was declined or your account is in sandbox mode. Check both.
- Webhooks not arriving — Authorize.net requires HTTPS with a valid certificate. The OS endpoint is HTTPS by default, but if you have a custom domain, make sure your TLS is current.
For anything not covered here, email [email protected] with your API Login ID (never the Transaction Key) and we can dig in.