Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook notifications not received from demo #2552

Open
inovas97 opened this issue Sep 22, 2024 · 11 comments
Open

Webhook notifications not received from demo #2552

inovas97 opened this issue Sep 22, 2024 · 11 comments

Comments

@inovas97
Copy link

inovas97 commented Sep 22, 2024

Hello,
I do not have received any post request on my webhook from demo.viva environment.
I have done the following:

  1. created a demo account
  2. config my website (public) and received the source code
  3. created and verified a webhook for event type order update (I have tried and other event types)
  4. make post request to my webhook URL via Postman/SoapUI with success.
  5. check logs and I didn't find any request to my operation

Could you please verify that the post requests are created and sent properly?
My Merchant ID is 'e0c55872-4e17-4d62-a5b9-d29e3b7aaef1'
and my hook URL is this : https://us-central1-truffle-hellas.cloudfunctions.net/api/viva-hook

@pnaa
Copy link

pnaa commented Sep 23, 2024

@inovas97 we are having the same issue, we had the webhook for the "Transaction Payment Created" event configured for a long time, and the last time we've noticed that it worked was last Friday (20/09/2024). Is there any update on this?

@myke11j
Copy link

myke11j commented Sep 24, 2024

I'm using it recently and it works perfectly with Transaction Payment Created, i.e, I receive webhook every time a transaction is created. Did you try with "Transaction Payment Created" option and also is there any security group/load balance between your application and Viva which might be blocking request from Viva?

@inovas97
Copy link
Author

Hello @pnaa and @myke11j , I have configured the same webhook and I received some requests yesterday. Today I made some payments but no request has been received yet. Also, I have configured the "Transaction Failed" webhook under the same endpoint but I have never received any notification related to a failed transaction.

@pnaa
Copy link

pnaa commented Sep 25, 2024

We have started to receive notifications again without any reconfiguration, it seams it was a temporary platform issue.

@inovas97
Copy link
Author

@pnaa Thank you for your fast response. Do you notice system downtimes often? I am asking because I am during an implementation using the demo environment and I have noticed that more time is downtime than functional

@pnaa
Copy link

pnaa commented Sep 25, 2024

Not too often, but more times than expected for a banking service. Unfortunately, support takes too long to give feedback. As you can see, this thread was opened a couple of days ago, and no one has replied yet....

@myke11j
Copy link

myke11j commented Sep 25, 2024

@pnaa can confirm, the webhook is very inconsistent. A lot of times it doesn't send any message after successful transaction, especially if there hasn’t been any activity for a while. Sometimes, it even redirects to my success page long before the webhook message arrives. So I had to implement my post-payment business logic for both the webhook and the success redirect, just in case the webhook message isn’t received

@pnaa
Copy link

pnaa commented Sep 25, 2024

I also had to do that....
but the problem is that if we target a recurring payment, it's only possible to get the initial_payment payload with the transaction ID on the webhook, because there is no other way to get it.
So, in our case, if the webhook isn't triggered, we get the order status and assume a one-time payment....

@inovas97
Copy link
Author

Do you know if the production webhooks work properly?

@VivaWalletCustomerSupport
Copy link
Collaborator

Hello,

Thank you for your messages and apologies for the late response.
Please make sure your webhooks are public and the following IP addresses are whitelisted on your server.
Rest assured production webhooks are operational.

Kind regards,
Viva E-commerce Support Team

@inovas97
Copy link
Author

inovas97 commented Oct 4, 2024

Thanks for your response,

I am sure that the proposed configurations have been applied correctly. I have already received some requests on my hooks but it happened only for one day, after that without changing anything it stopped. After configuring the webhook, any change in my application, non-related to the service that handles the hook, could affect the hook? Maybe a restart of my server could make any? Have I to re-confirm my hooks after any server action?
Best Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants