VivaPayments / API

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

New account opend, activated but payments are not succesfull. Please help. #2013

Closed alxalbu closed 3 years ago

alxalbu commented 3 years ago

For the account ATDS SYSTEMS INTERNATIONAL SRL I did an implementation and some tests. On the demo platform I can pay with the test card and a valid card, but on production they don't let me pay. On the demo it tells me that the payment was made but I do not receive a callback on the url set www.vintu.net/viva/success nor fail at www.vintu.net/viva/fail in case of error. So I tried on production, where any card I use for payment gives me a failed transaction and I also don't receive any callback on the urls set in this account. https://www.vivapayments.com/web/checkout/result?s=6073062149519109&lang=en-US&eventId=0

alxalbu commented 3 years ago

I have used the simplest implementation: redirect v2

alxalbu commented 3 years ago

I do the post request with the account credentials and then generate the link for payment. When follow the link the production platform displayes correct data with our logo and data but after entering the cc data the payment fails and do not receive any callback.

matthewrgourd commented 3 years ago

Hi @alxalbu, before I go any further, please confirm which of our checkout solutions you're attempting to implement, Redirect Checkout or Native Checkout v2?

alxalbu commented 3 years ago

I use Redirect Checkout.

You can test it's functionality on https://www.vintu.net/home/test

I have a button wich launches a function on backend which makes a post request to Url from bellow with amount and credentials: url = URI("https://www.vivapayments.com/api/orders") #prod

If post is successful It receives a parameter OrderCode @payment_order=@body['OrderCode']

Then and I redirect the page to the link: viva_payment_url=" https://www.vivapayments.com/web/checkout?ref=#{@body['OrderCode']}" #prod

After any payment the result is Transaction rejected and I do not receive any callback on the success or fail pages I set up on https://www.vintu.net/viva/success or https://www.vintu.net/viva/fail where I am waiting the parameters for transactionId.

Please check account validity. Till there everything works ok.

On Demo platform the payment is done properly, transaction success but I also do not receive callbacks (redirection of pages with proper response of transaction)

Thanks, Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 10:35, matthewrgourd notifications@github.com wrote:

Hi @alxalbu https://github.com/alxalbu, before I go any further, please confirm which of our checkout solutions you're attempting to implement, Redirect Checkout https://developer.vivawallet.com/online-checkouts/redirect-checkout/ or Native Checkout v2 https://developer.vivawallet.com/online-checkouts/native-checkout-v2/?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VivaPayments/API/issues/2013#issuecomment-732742343, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPNJD37GFV6J233Z4OFX4TSRNV6TANCNFSM4T7OI6EA .

matthewrgourd commented 3 years ago

Hi @alxalbu, I believe you need to edit your Viva Wallet payment source (6173) which was originally set up for the domain vintu.net. Please try changing that to www.vintu.net to match your website's actual live domain name. Let me know how you get on.

alxalbu commented 3 years ago

Hi, I did it with www.vintu.net Same error.

Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 14:34, matthewrgourd notifications@github.com wrote:

Hi @alxalbu https://github.com/alxalbu, I believe you need to edit your Viva Wallet payment source (6173) which was originally set up for the domain vintu.net. Please try changing that to www.vintu.net to match your website's actual live domain name. Let me know how you get on.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VivaPayments/API/issues/2013#issuecomment-732946004, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPNJD6JJINYJO5C4QQGMVTSROR4VANCNFSM4T7OI6EA .

alxalbu commented 3 years ago

Should we delete and recreate it with www.vintu.net? Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 15:22, albu alexandru alexandru.albu@gmail.com wrote:

Hi, I did it with www.vintu.net Same error.

Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 14:34, matthewrgourd notifications@github.com wrote:

Hi @alxalbu https://github.com/alxalbu, I believe you need to edit your Viva Wallet payment source (6173) which was originally set up for the domain vintu.net. Please try changing that to www.vintu.net to match your website's actual live domain name. Let me know how you get on.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VivaPayments/API/issues/2013#issuecomment-732946004, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPNJD6JJINYJO5C4QQGMVTSROR4VANCNFSM4T7OI6EA .

matthewrgourd commented 3 years ago

Hi @alxalbu, it's ok, I managed to change it for you at this end. Can you try again?

alxalbu commented 3 years ago

Thank You, It worked but I didn.t redirect the page to the destination page in order to get the transactionId. Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 15:36, matthewrgourd notifications@github.com wrote:

Hi @alxalbu https://github.com/alxalbu, it's ok, I managed to change it for you at this end. Can you try again?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VivaPayments/API/issues/2013#issuecomment-732977320, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPNJD6BTARL4A6QB5RFVS3SROZGZANCNFSM4T7OI6EA .

alxalbu commented 3 years ago

[image: image.png] Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 17:24, albu alexandru alexandru.albu@gmail.com wrote:

Thank You, It worked but I didn.t redirect the page to the destination page in order to get the transactionId. Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 15:36, matthewrgourd notifications@github.com wrote:

Hi @alxalbu https://github.com/alxalbu, it's ok, I managed to change it for you at this end. Can you try again?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VivaPayments/API/issues/2013#issuecomment-732977320, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPNJD6BTARL4A6QB5RFVS3SROZGZANCNFSM4T7OI6EA .

alxalbu commented 3 years ago

Can you find out why redirection is not working? Should we do something else? The pages are ok and works properly. We need to see the transactionID! to make the automatization further Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 17:28, albu alexandru alexandru.albu@gmail.com wrote:

[image: image.png] Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 17:24, albu alexandru alexandru.albu@gmail.com wrote:

Thank You, It worked but I didn.t redirect the page to the destination page in order to get the transactionId. Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 15:36, matthewrgourd notifications@github.com wrote:

Hi @alxalbu https://github.com/alxalbu, it's ok, I managed to change it for you at this end. Can you try again?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VivaPayments/API/issues/2013#issuecomment-732977320, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPNJD6BTARL4A6QB5RFVS3SROZGZANCNFSM4T7OI6EA .

matthewrgourd commented 3 years ago

Hi @alxalbu, the screenshot didn't come through? When you're doing the POST to api/orders have you replaced the body parameter "SourceCode": "Default" with "SourceCode": "6173" where you set up the redirect URLs?

alxalbu commented 3 years ago

No, I have set it www.vintu.net. I will try now with: "6173". Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 18:11, matthewrgourd notifications@github.com wrote:

Hi @alxalbu https://github.com/alxalbu, the screenshot didn't come through? When you're doing the POST to api/orders have you replaced the body parameter "SourceCode": "Default" with "SourceCode": "6173" where you set up the redirect URLs?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VivaPayments/API/issues/2013#issuecomment-733078718, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPNJD6GDJMU2VBOCPOVVCLSRPLLFANCNFSM4T7OI6EA .

alxalbu commented 3 years ago

Ok, thanks very much Matthew! Works now with this modification. May I suggest to send an email to Quality Manager to request modification of the documentation for customers? Just instead of domain field should be the url address of the web page and that in the post request should be places Source: source_id as in interface. In rest it was flowless!! Thank you very much again for help for saving me to start again an implementation on other operator. I will continue with payment verification for transactionId received on callback.

Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 18:16, albu alexandru alexandru.albu@gmail.com wrote:

No, I have set it www.vintu.net. I will try now with: "6173". Alexandru Albu

Mobile/Whatsapp: +40764 111 211 Skype/YM: alx_albu

On Tue, 24 Nov 2020 at 18:11, matthewrgourd notifications@github.com wrote:

Hi @alxalbu https://github.com/alxalbu, the screenshot didn't come through? When you're doing the POST to api/orders have you replaced the body parameter "SourceCode": "Default" with "SourceCode": "6173" where you set up the redirect URLs?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/VivaPayments/API/issues/2013#issuecomment-733078718, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPNJD6GDJMU2VBOCPOVVCLSRPLLFANCNFSM4T7OI6EA .