VivaPayments / API

Index of Viva Wallet open source projects on GitHub.
139 stars 162 forks source link

Webhooks not reaching our listener #1410

Closed PXPFinancial closed 4 years ago

PXPFinancial commented 4 years ago

Dear Viva support team, in the sandbox account we are trying to create test redirect checkout payments and we finalize the payments with the provided test CC details. After finishing the process we don't get the webhooks to our listener. Could you please check the setup in our account for the webhooks. Unfortunately we cannot login to our sandbox account as we have no access to the used mobile phone. The phone number is: +30 6999887788

the latest transaction which we tried was:

  Amount=1100&MerchantTrns=cb6316fc-2da5-480d-9b05-377a07368320&ExpirationDate=2021-02-24T09:32:41.0000000&PaymentTimeOut=65535&DisableExactAmount=True&DisableIVR=True&DisablePayAtHome=True

many thanks

matthewrgourd commented 4 years ago

Hi @PXPFinancial sorry to hear this. Can I have your Merchant ID for the demo environment, please? Or the business name you would have entered during setup? Unfortunately I can't find you on our systems with the supplied details.

PXPFinancial commented 4 years ago

hi Matthew, we are using following username for the call: 3cbc203b-f7ca-4f35-8bc3-3f45e00de097 and i have this ID also in the channel: 639678253016

I hope this helps.

matthewrgourd commented 4 years ago

Thanks for that, have you tried specifying a source code ID of 1716 which is what you seem to have set up for the redirect? From the documentation:

If you have defined multiple sources on your profile, you need to use the optional SourceCode parameter when you Create payment order, so that the system selects the appropriate redirection URL.

However, having said that, I've checked your demo account and you've had various failed transactions from test cards in the past few days so I think something is working :-)

PXPFinancial commented 4 years ago

hi matthew, do you have the possibility to check the webhook link in our test account? I think the URL is not working properly and unfortunately i have no access to the test account to double check. could you please help with this? many thanks

matthewrgourd commented 4 years ago

Hi @PXPFinancial your website address (http://cashier.bwin.com.e7new.com/) isn't resolving so I'm unable to test the success / failure URLs. However, you do need full access to your demo account. Have you tried resetting your password using the Forgot password link on the login page?

PXPFinancial commented 4 years ago

hi Matthew, the cashier.bwin.com.e7new.com is an internal page for the succes url where the tester is redirected. But we need to know the notification listener URL where you send the webhooks. We cannot do the password reset as we have no access to the saved phone number. For that I'm asking to confirm the webhook address.

matthewrgourd commented 4 years ago

Hi @PXPFinancial I'll check with a developer and get back to you. Thanks!

matthewrgourd commented 4 years ago

Hi @PXPFinancial, reply back from dev team:

You've successfully registered 2 payment sources which are both active: "Default" Success URL: https://re-cashierstatic.ivycomptech.co.in/deposit/vivaCqrRedirectBack.action?status=success Fail URL: https://re-cashierstatic.ivycomptech.co.in/deposit/vivaCqrRedirectBack.action?status=fail "1716" Success URL: https://cashier.bwin.com.e7new.com/deposit/vivaCqrRedirectBack.action?status=success Fail URL: https://cashier.bwin.com.e7new.com/deposit/vivaCqrRedirectBack.action?status=fail At the moment, all of your orders are assigned to source code "default".