I'm trying to implement Accept Hosted with redirect to capture a payment. This all seems to be working fine, however because with Accept Hosted redirect you can't disable the receipt page, I need a way of updating my system that the payment succeeded.
Based on the docs, I'm implementing a webhook. I have one set it up locally and am using ngrok to expose it publicly. I've setup the webhook in the authorize.net console, and subscribed to all the payment events. When the webhook is disabled, I can press the "test webhook" button and my webhook is triggered. However, when I enable my webhook and then process a payment, the webhook never fires.
This is currently just setup in sandbox and using a test card. As I say, the payment form is completing, and when I "test" the webhook is works, but when I try to make the payment form trigger the webhook, nothing happens. Can anyone see what I'm doing wrong?
Solved! Go to Solution.
02-04-2019 10:49 AM - edited 02-04-2019 10:50 AM
Figured it out. Webhooks don't work when your account is in test mode.
02-04-2019 11:10 AM
Figured it out. Webhooks don't work when your account is in test mode.
02-04-2019 11:10 AM