Reply
Member
Posts: 2
Registered: ‎02-04-2019
Accepted Solution

Webhook with Accept Hosted not firing

[ Edited ]

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?


Accepted Solutions
Solution
Accepted by Anurag (Administrator)
‎02-04-2019 11:49 AM
Member
Posts: 2
Registered: ‎02-04-2019

Re: Webhook with Accept Hosted not firing

Figured it out. Webhooks don't work when your account is in test mode.

View solution in original post


All Replies
Solution
Accepted by Anurag (Administrator)
‎02-04-2019 11:49 AM
Member
Posts: 2
Registered: ‎02-04-2019

Re: Webhook with Accept Hosted not firing

Figured it out. Webhooks don't work when your account is in test mode.