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
checkout module spanish bank
checkout module spanish bank
- Attachments
-
- module.banco.rar
- (2 KiB) Downloaded 640 times
Re: checkout module spanish bank
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
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.