SIPS ATOS V2 mercanet - i get a 404 error message when i want to pay

  • Posts: 63
  • Thank you received: 4
  • Hikashop Business Hikashop Essential
6 months 3 weeks ago #303040

-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.2
-- PHP version -- : 7.2.14
-- Browser(s) name and version -- : CHROME 71.0.3578.98
-- Error-message(debug-mod must be tuned on) -- : HTTP ERROR 404

Hello,

I just subscribed to hikashop essential for one of my prospect and trying to use sips atos v2. My prospect's bank is bnp paribas and with the information i have it seems that i must use sips atos v2.

But when i want to simulate a payment in the sandbox or in real i get a message HTTP ERROR 404

It's not a usual 404 error it seems. the url is payment-webinit.simu.mercanet.bnpparibas.net/

I don't know how to give you an access to test cause the shop is for registred users only...

All the best for 2019

Regards,

Last edit: 6 months 2 weeks ago by pouce. Reason: issue was solved!!

Please Log in or Create an account to join the conversation.

  • Posts: 66586
  • Thank you received: 9792
  • MODERATOR
6 months 3 weeks ago #303043

Hi,

Checking the code of the SIPS ATOS v2 payment plugin, I see there is an extra space for the test URL for BNP on the line:

'bnp_test' => '	https://payment-webinit.simu.mercanet.bnpparibas.net',
which should actually be:
'bnp_test' => 'https://payment-webinit.simu.mercanet.bnpparibas.net',
in the file plugins/hikashoppayment/atossips/atossips.php
Please change that and try again.
If it helps, then this is the problem.
If not, then please check with the BNP merchant tech support to see if you're using the correct solution and whether the URL is the correct one.

Please Log in or Create an account to join the conversation.

  • Posts: 63
  • Thank you received: 4
  • Hikashop Business Hikashop Essential
6 months 3 weeks ago #303055

Hi Nicolas,

There was an extra space but that's make no changes, i still get http error 404 on top left of the screen.

What should i say to technician, do i have to give them the plugin code?

Thank you for your quick reply

Please Log in or Create an account to join the conversation.

  • Posts: 2199
  • Thank you received: 293
  • MODERATOR
6 months 3 weeks ago #303088

Hello,

Explain them that when you use this url : ' payment-webinit.simu.mercanet.bnpparibas.net ' and get this strange 404 page.
Maybe there is a new url to make a request payment ?
Maybe there is something to check in your merchant account settings with their support ?
Only guess.

Hope you will succeed to solve your issue, and we are here to continue to help you if needed.
Regards

Please Log in or Create an account to join the conversation.

  • Posts: 63
  • Thank you received: 4
  • Hikashop Business Hikashop Essential
6 months 3 weeks ago #303090

Hello Philip,

URL seems to be correct they are the same as in their documentation.

I already contact them and they just told me to contact you :/



the plugin seems to be the one to use as url are correct and it only needs a secret key and key version which i have in my mercanet account.

Do you think that Admintools could do bad behaviour? or other plugins?

Thanks for your reply

Last edit: 6 months 2 weeks ago by pouce. Reason: there was credentials to connect to the website

Please Log in or Create an account to join the conversation.

  • Posts: 2199
  • Thank you received: 293
  • MODERATOR
6 months 3 weeks ago #303114

Hello,

From what we know hard to tell, can you provide more elements like :
- Payment plugin setting screenshot (Hide your secret references in your picture)
- Provide an Url that allow us to process some tests by ourself (if required, provide access references)

Note : To provide secret data, use our Contact us form, and add an Url link to this topic.
Awaiting news from you.

Regards

Last edit: 6 months 3 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 63
  • Thank you received: 4
  • Hikashop Business Hikashop Essential
6 months 3 weeks ago #303144

Thanks for your answer here is a screenshot of the plugin

I'm gonna give you super user access so you can check more easily

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2199
  • Thank you received: 293
  • MODERATOR
6 months 3 weeks ago #303163

Hello,

I'm sorry but as I said we need to process some tests, that means add a product to cart, I look for product to add and didn't find any.
Plus, provided access don't allow to more far from this :



Awaiting more elements to go more far on your subject.
Regards

Please Log in or Create an account to join the conversation.

  • Posts: 63
  • Thank you received: 4
  • Hikashop Business Hikashop Essential
6 months 3 weeks ago #303202

Hi Philip, sorry i forgot that it was protected by an htaccess

There are pending order on user panel, it is a cap at one euro as the bank advises us to make test with small amounts.

you can login with demo user:
[MODERATOR :] For you own security don't directly post any access references on the forum

Regards,

Last edit: 6 months 3 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 2199
  • Thank you received: 293
  • MODERATOR
6 months 3 weeks ago #303213

Hello,

While I was process my tests, my IP address was blocked... So I can't directly continu to process test on your website, but I think I have 2 things to try:
1. I see in your payment log that maybe you have switch your key version with your secret key ? Can't be sure of it has I'm unable to check it myself anymore
2. in order to process new test can you try to modify this code line in atossips.php like this :
- Around line 47, you have this :
var $bank_request = array(
'default_test' => ' payment-webinit.simu.sips-atos.com/paymentInit ',
'default_prod' => ' payment-webinit.sips-atos.com/paymentInit ',
'bnp_test' => ' payment-webinit.simu.mercanet.bnpparibas.net ',
'bnp_prod' => ' payment-webinit.mercanet.bnpparibas.net '
);

- Add this " /paymentInit " to the last array element (' payment-webinit.mercanet.bnpparibas.net ') to get this :
var $bank_request = array(
'default_test' => ' payment-webinit.simu.sips-atos.com/paymentInit ',
'default_prod' => ' payment-webinit.sips-atos.com/paymentInit ',
'bnp_test' => ' payment-webinit.simu.mercanet.bnpparibas.net ',
'bnp_prod' => ' payment-webinit.mercanet.bnpparibas.net
/paymentInit'
);


Awaiting news from you to see if we have progress on your subject.
regards

Last edit: 6 months 3 weeks ago by Philip.
The following user(s) said Thank You: pouce

Please Log in or Create an account to join the conversation.

  • Posts: 63
  • Thank you received: 4
  • Hikashop Business Hikashop Essential
6 months 2 weeks ago #303264

Hello Philippe,

It's a good day congratulations you have solved this issue.:woohoo:

I will come back here to tell you all is ok and that the first payment has been done.

Thank you very much

The following user(s) said Thank You: Philip

Please Log in or Create an account to join the conversation.

  • Posts: 63
  • Thank you received: 4
  • Hikashop Business Hikashop Essential
6 months 2 weeks ago #303266

I forgot to mention that it was the second point that solved it.

Thanks again

Please Log in or Create an account to join the conversation.

  • Posts: 2199
  • Thank you received: 293
  • MODERATOR
6 months 2 weeks ago #303271

Hello,

Thanks for your return I will update our plugin to add the complete url code.
Regards

Please Log in or Create an account to join the conversation.

  • Posts: 2199
  • Thank you received: 293
  • MODERATOR
6 months 2 weeks ago #303318

Hello,

It seems that you have to modify as well the url for test phase, like this :
var $bank_request = array(
'default_test' => ' payment-webinit.simu.sips-atos.com/paymentInit ',
'default_prod' => ' payment-webinit.sips-atos.com/paymentInit ',
'bnp_test' => ' payment-webinit.simu.mercanet.bnpparibas.net ',
'bnp_prod' => ' payment-webinit.mercanet.bnpparibas.net/paymentInit '
);

To have this :
var $bank_request = array(
'default_test' => ' payment-webinit.simu.sips-atos.com/paymentInit ',
'default_prod' => ' payment-webinit.sips-atos.com/paymentInit ',
'bnp_test' => 'https://
payment-webinit-mercanet.test.sips-atos.com/paymentInit',
'bnp_prod' => ' payment-webinit.mercanet.bnpparibas.net/paymentInit '
);


Can you make a try in test mode, please ? The aim is to solve as well the 404 error too.
Awaiting news from you.
Regards

Last edit: 6 months 2 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 63
  • Thank you received: 4
  • Hikashop Business Hikashop Essential
6 months 2 weeks ago #303329

Hello,

Yes you're right, it needs this modification too for simulation to work.

I needed to use simulation merchant id and secret key which you can find in their documentation:

documentation.mercanet.bnpparibas.net/in...tle=Boutique_de_test

I purchased a product with the simulation credit card given by bnp paribas:

documentation.mercanet.bnpparibas.net/in...title=Cartes_de_test

I was able to go through my purchase . it finished with a page where i have to choose if the process went successfully, or not there was 4 choices .

i chose success order and i got back to the successful payment page and after to my website where hikashop told me that the payment was successful.

The following user(s) said Thank You: Philip

Please Log in or Create an account to join the conversation.

  • Posts: 2199
  • Thank you received: 293
  • MODERATOR
6 months 2 weeks ago #303332

Hello,

Thanks for your return ! Now Atos Sips is up to date thanks to you !
Regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.101 seconds
Powered by Kunena Forum