checkout module spanish bank

Modules, Add-ons and custom code that's more than just a quick hack or Mod.
Post Reply
jmperea
Posts: 2
Joined: Sun Mar 04, 2012 12:35 pm
Location: malaga

checkout module spanish bank

Post by jmperea »

i'm developing a checkout module for spanish bank. this module is based in other module of interspire, worldpay. the integration with the administration panel is ok, and i send the variables via http_post to the bank is ok too. But at the end of transaction, the bank send me response with the result of transaction, via http_post. And here start my problems, i nedd to know what page is waiting the response of the bank, checkout.php or finishorder.php. And how can i redirect this response to a function in my class.

I have tried to send the response($_post), to this page http://contrerasabogados.es/demo/texo.php and it's works, but i don´t know how to integrate with interpire.

sorry for my english

thank
Attachments
module.banco.rar
(2 KiB) Downloaded 526 times
jmperea
Posts: 2
Joined: Sun Mar 04, 2012 12:35 pm
Location: malaga

Re: checkout module spanish bank

Post by jmperea »

Hi,
i have a solution, the response of the bank goes to this url: mydomain.com/checkout.php?action=gateway_ping&provider=checkout_sermepa, into my class "class CHECKOUT_SERMEPA extends ISC_CHECKOUT_PROVIDER" there is a function gateway_ping(), in this function i change the state and write the log. The page ok is redirect to finishorder.php, but i don´t understand why don´t pass to the method VerifyOrderPayment(), because in other class it´s working
Last edited by jmperea on Fri Mar 09, 2012 3:13 pm, edited 1 time in total.
Post Reply