Hello y'all,
I have created an app that uses Accept Hosted with redirect to Authorize.net payment page. Everything works great; I can make payments and the payment transactions are successful. The only thing I need now is to configure the app so that every time a payment occurs, it sends the transactions details back to my server.
I know it has been suggested that I use webhooks to get notifications, but the thing I'm confused about webhooks is that it looks like I have to send GET request to the Authorize.net API in certain time intervals, rather than only when the transaction happens. I want to receive transaction details only after a payment happens and I don't want my server sending requests to the API continuously.
I am using ASP.NET with C#.
Any help or guidance is appreciated. Thank you!
03-05-2019 11:57 AM
03-05-2019 06:17 PM
Thank you for your response. So now, as I understand Authorize.net sends the notifications automatically as soon as payment happens. I tried configuring a webhook on my sandbox account, like "https://my.server.com/notifications" as instructed in the sample code, but when I test it in the Inactive mode, it is giving me the error: Error: Error occured in connecting to the endpoint:https://my.server.com/notifications. But if I try with the directory my app is in, like "https://my.server.com/myapp/" then it says Ping Successful. What is the reason for this error and are there any quick solutions or tricks, or am I doing something wrong?
Also, once I configure the webhook endpoint, how could I receive the notification data on my server, so that I can use it for my purposes. I'm using .net with C#.
Thank you!
03-06-2019 07:23 AM
03-06-2019 11:00 AM - edited 03-06-2019 11:01 AM
08-28-2019 05:38 AM
It totally depends our payment system which you are using currently. But if you go to your acccount details than you'll find this transaction counter where you can check transaction details.
08-18-2020 06:59 AM