Payment Method

  • Posts: 441
  • Thank you received: 24
12 years 18 hours ago #76107

I want to change my credit card payment method that seems to be very close to servired type, they are showing me this form:
<HTML>
<HEAD>
<TITLE>Página de pago</TITLE>
</HEAD>
<BODY>
<FORM ACTION=" pgw.ceca.es/cgi-bin/tpv " METHOD="POST" ENCTYPE="application/xwww-
form-urlencoded">
<INPUT NAME="MerchantID" TYPE=hidden VALUE=##MerchantID##>
<INPUT NAME="AcquirerBIN" TYPE=hidden VALUE=##AcquirerBIN##>
<INPUT NAME="TerminalID" TYPE=hidden VALUE=##TerminalID##>
<INPUT NAME="URL_OK" TYPE=hidden VALUE=##URL_OK##>
<INPUT NAME="URL_NOK" TYPE=hidden VALUE=##URL_NOK##>
<INPUT NAME="Firma" TYPE=hidden VALUE=##Firma##>
<INPUT NAME="Cifrado" TYPE=hidden VALUE=”SHA1”>
<INPUT NAME="Num_operacion" TYPE=hidden VALUE=##Num_operacion##>
<INPUT NAME="Importe" TYPE=hidden VALUE=##Importe##>
<INPUT NAME="TipoMoneda" TYPE=hidden VALUE=978>
<INPUT NAME="Exponente" TYPE=hidden VALUE=2>
<INPUT NAME=“Pago_soportado” TYPE=hidden VALUE=SSL>
<INPUT NAME=“Idioma” TYPE=hidden VALUE=”1”>
<CENTER>
<INPUT TYPE="submit" VALUE="Comprar">
</CENTER>
</FORM>
</BODY>
</HTML>

is it easy to implement in hikashop servired plugin?
to calculate the firma is that string
Clave_encriptacion+MerchantID+AcquirerBIN+TerminalID+Num_operacion+Importe+Tipo
Moneda+Exponente+ +Cadena SHA1+URL_OK+URL_NOK

example of firma
Ejemplo:
Clave encriptacion: 99888888 (no viaja en el formulario)
MerchantID: 111950028
AcquirerBIN: 0000554052
TerminalID: 00000003
Num_operacion: 123
Importe: 500
TipoMoneda: 978
Exponente: 2
Cadena SHA1
14
URL_OK: www.ceca.es
URL_NOK: www.ceca.es
La Cadena_sha1 a firmar será la siguiente:
998888881119500280000554052000000031235009782SHA1http://www.ceca.eshttp://www.ceca.es
La firma_calculada será:
15ba153908476895d9edd75ff23b207707d2c885

Last edit: 12 years 18 hours ago by condorazul.

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

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 11 months ago #76346

It's not easy.
You should hire a developer to do that for you. That should be relatively easy for him but it will still take at least one day of work in order to modification the servired payment plugin and properly test the modifications.

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

  • Posts: 441
  • Thank you received: 24
11 years 11 months ago #76349

Do you know any or even can i pay you for doing it?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #76437

I think the best way is to post a message in the Commercial Jobs section of this forum.

Actually we have a lot of things to do, and we will not be able to do that.

Regards.

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

  • Posts: 441
  • Thank you received: 24
11 years 11 months ago #77224

After no offer received for implement the plugin i did it by myself and everything is working fine but the orders to cancel the shopping if paid is not done and the orders to confirm the order. where does hikashop receive this orders because i did more or less the same than with hikashop servired plugin with the implement of several inputs the other payment method asked, but when the order is ok it goes back to the web page but no order status is changed neither for ok not for ko, ko send me back to last checkout step and ok displays correct paid but it does not change it.

After i finish it i will donate the plugin to hikashop. Thank you

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

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 11 months ago #77235

In the fields :
<INPUT NAME="URL_OK" TYPE=hidden VALUE=##URL_OK##>
<INPUT NAME="URL_NOK" TYPE=hidden VALUE=##URL_NOK##>
you should enter the notification URL of HikaShop and the cancel URL of HikaShop:
mywebsite.com/index.php?option=com_hikas...pl=component&lang=en
mywebsite.com/index.php?option=com_hikas...er&task=cancel_order

Then, when the payment is complete, it would redirect to the onPaymentNotification function of your plugin so that you can change the status of the order and then redirect the user to the return URL where you want him to go.
And when the payment is cancelled, it will handle the cancellation automatically.

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

  • Posts: 441
  • Thank you received: 24
11 years 11 months ago #77239

the plugin should be changed in plugins or in administrator extensions?

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

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 11 months ago #77272

The plugin does not need to be changed.

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

  • Posts: 441
  • Thank you received: 24
11 years 11 months ago #77295

there wa a guy who was closed to develop it www.hikashop.com/ja/forum/4-how-to/11016...ml?limit=20&start=20 did you have any more news of his progress?

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #77306

Hi,

I don't think that we have any more news.
Otherwise, the plugin would have been included in HikaShop package.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 441
  • Thank you received: 24
11 years 11 months ago #77570

ok i finished the plugin and its working but it needs a lot of development wich i´m not able to do, thanks to a friend we managed to achieve it.
1.- Its created based on hikashop servired´s pluging and as i dont know how to modify a lot of code it still has the same programation so in the confirmation message it show servired.
2.- In ceca you have to activate online_comunication and there insert the confirmation webpage http://mywebsite/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=servired, wich it should be better create a new file .php to call to the function but i dont know how to do it.
3.- In hikashop servired_end i changed the address url ok because when ceca returns to my page it only displays a white window with my menu and nothing more and i would like to return to my main page with the message order finished or similar, as i dont know how to do it, i´m going to create a custom landing page that should be changed in firm calculation and in input field url ok
4.- the main changes are in the file servired.php and you can see them as new adds or something similar...
5.- by default we generate a file to see if what we recieve from ceca is ok and for further testing called vblePOST.txt in the root of the server.
6.- To create the plugin i just overwrite servired one.
7.- I´m sure you can do it better than me, but now its functional.

File Attachment:

File Name: Plugin_Ceca.zip
File Size:7 KB



hope you continue with developing and add the pluging well done in next release or asap
Thank you
David Pintado

Attachments:
Last edit: 11 years 11 months ago by condorazul.
The following user(s) said Thank You: Jerome

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

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 11 months ago #77757

Thank you for sharing your work. I quickly looked at the code and I think that we'll be able to modify it and include it in next version in January.

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

  • Posts: 441
  • Thank you received: 24
11 years 11 months ago #77759

wonderful news hope to see it in next version!!!

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

  • Posts: 104
  • Thank you received: 0
11 years 9 months ago #88949

I'm really interested on this plugin.

Is it implemented on the 2.1.0 version or not yet?

Thanks.

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

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 9 months ago #89067

Hi,

I passed it to one of the developers but there were a lot of things to change in it in order to be able to have it in HikaShop by default so it's not in HikaShop 2.1.

I don't think that we'll be able to include it in the short term. You can still install it yourself since condorazul provided the install package but it is at your own risks and we cannot provide support on it.

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

  • Posts: 104
  • Thank you received: 0
11 years 8 months ago #92634

condorazul wrote: 2.- In ceca you have to activate online_comunication and there insert the confirmation webpage http://mywebsite/index.php?option=com_hikashop&ctrl=checkout&task=notify¬if_payment=servired, wich it should be better create a new file .php to call to the function but i dont know how to do it.


I am trying to configure this hack of the servired payment plugin but I have an error.
Not Found

The requested URL /cgi-bin/tpv method= was not found on this server.

I think this can be because the confirmation webpage that I am setting is not the correct due to my multilingual configuration. So what it is the correct confirmation webpage?

Thanks

Last edit: 11 years 8 months ago by dyvymtvar.

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

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 8 months ago #92638

The confirmation webpage should be

http://mywebsite/index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment=servirede

Looking at your error, it doesn't seem that you entered the correct URL.

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

  • Posts: 104
  • Thank you received: 0
11 years 8 months ago #92643

So fast response.

I have tried with the url you say but I have the same error.

Any suggestions?

I am testing now in a new installation without multilingual configuration (joomfish) and now I have another error.
ERROR en el calculo del MAC [0F2E1722F32D3A5F - 02C96D67][cadena:109783250229450http://www.pruebahika.hol.es/hika/index.php?option=com_hikashop&ctrl=checkout&task=after_end&order_id=6http://www.pruebahika.hol.es/hika/index.php?option=com_hikashop&ctrl=order&task=cancel_order&order_id=6]

Last edit: 11 years 8 months ago by dyvymtvar. Reason: new information

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

  • Posts: 13201
  • Thank you received: 2322
11 years 8 months ago #92801

I think that you made a mistake when trying the given url, because in the error message you have twice the url.
That's why it return an error. You wrongly edited the plugin I think. Try to edit it again.

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

Time to create page: 0.109 seconds
Powered by Kunena Forum