I have problem with my payment mudule

Hi,
I am trying to develop new payment module (Paysbuy) and linking it to my shop . I learned from

http://devzone.zend.com/article/7525-Accepting-Credit-Card-Payments-with-OXID-eShop-CE-and-AlertPay

the problem is when i process the payment step and take to the payment gateway correctly but , After came back to the shop and i tried to process the payment again its just take me to thank you page not the payment gateways page.

I am not sure my question is completely clear or not but if somebody want to try just go to

http:://oxid.bitconstructor.com
user: [email protected]
pass: demo

so, you can log in and try.

i very appreciate if somebody can tell me where is the problem if you need more information please tell me.

Thank you .

Kunming

Hello Kunming,

I think a while ago, somebody else had similar problems. Have a look here:
http://thread.gmane.org/gmane.comp.php.oxid.general/26/focus=161

Hope that helps

rgds

[QUOTE=Marco Steinhaeuser;20965]Hello Kunming,

I think a while ago, somebody else had similar problems. Have a look here:
http://thread.gmane.org/gmane.comp.php.oxid.general/26/focus=161

Hope that helps

rgds[/QUOTE]
Hello Marco Steinhäuser,

First off all I want to thank you about your reply message. I read it all and try to understand but it seems doesn’t help much. Anyway, I have the question that I want to ask you about SEO url.

I have SEO URL : http://myurl.com/index.php?cl=order&fnc=processPaysbuyReturn

after I process payment method and went back to my shop with the url above. Generally the function processPaysbuyReturn() should start automatically as posted in Alertpay Tutorial.
This function cannot start and does not work as they said but its work correctly when i copy & paste the url above to new blank browser.

Hello Kunming,

actually, the URL you posted above doesn’t look like a SEO URL. SEO URLs shall look like so called “permalinks” in blogs. I guess, the origin of your problem is connected to session issues. As there is a fall back implemented since version 4.1.2 I think, you may try to fetch the session adding it to the URL.

Regards

Hello Marco,
The url that I posted is not the SEO url but those url above already mapped with SEO url. Its look like
this: http://testserver/en/paysbuy-return-en/?sid=2eb4a55c6113990ba6e455886cb00614

and it still have the same problem.

Kunming

[[email protected];21291]This function cannot start and does not work as they said but its work correctly when i copy & paste the url above to new blank browser.[/QUOTE]
If it starts from the browser addressline, i can see nothing preventing it from working when initiated from elsewhere…

You sure use a debugger, so in module “[B]oxshopcontrol.php[/B]” set a breakpoint in “[B]protected function _process( $sClass, $sFunction )[/B]”, single-step thru the code, and see what is going wrong…

(The debugger must be able to debug sessions, like my debugger “[B]PhpED[/B]” does).

Or include some "echo"s in the routine to see variable contents and control flow.

You just can’t find the cause for that behaviour theoratically.