Thank you for answer Andreas. I solved this problem by creating request handler in root directory. So bank system now redirects user to that handler, it forms URL and then redirects (:( so many redirects) back to shop, but now all data is colected in URL. So everything works.
Thanks for notice about validation. I will pay attention to that. Respectfully, Darius Tumas (a.k.a. Tokeiito) On Mon, Aug 24, 2009 at 8:39 AM, anzido GmbH <[email protected]> wrote: > Hello Darius, > > you're right: If you use $this->getConfig()->getParameter() then indeed the > POST-data do have priority. You cann see the logic in function > getParameter() in the core-class oxconfig: > > First the global $_POST-array is checked, then the $_GET-array and then > even the $_SESSION-array is checked for a fitting parameter (which is > deprecated but unfortunately still there). > > So in this case to be sure to read the $_GET parameters you will have to > read them directly from the $_GET-array not using the getParameter() method. > Be sure to validate those directly taken parameteres for preventing any > injection of evvil stuff. > > Greetings! > Andreas Ziethen > CEO of anzido GmbH > > -- > NEU: PHP- und OXID-Schulungen in der anzido Akademie: > http://www.anzido-akademie.de > > anzido GmbH > Kirchhörder Str. 12 > 44229 Dortmund > Tel.: 0231 - 60 71 079 > Fax.: 0231 - 60 71 081 > Mobil:0176 - 8325 1488 > Email: [email protected] > Web: http://www.anzido.com > > USt-ID: DE257982972 > Geschäftsführung: Andreas Ziethen > Amtsgericht Dortmund HRB 20883 > > -----Ursprüngliche Nachricht----- > Gesendet: 24.08.2009 00:55:55 > Von: Darius Tumas <[email protected]> > An: <[email protected]> > Betreff: [oxid-dev-general] Problem with redirecting after payment from > bank system. > Vorgang: 1DN5N223QY > > > Hello, > > > > I have problem after redirection from bank system. > > User is redirected to bank after step 3 in order. He makes payment there > and > > then submits form to the URL i gave from my shop. > > > > i'm sending to bank this redirection url: > > ?cl=thankyou&fnc=itoltorderpb&sid='.$this->getSession()->getId() > > > > But for some reason, after redirection, shop shows index page without any > > errors and user is droped to thankyou only after page is refreshed. It > seems > > that if there is some data in $_POST oxid does not pay attention to $_GET > > data. How to solve this? > > > > Respectfully, > > > > Darius Tumas (a.k.a. Tokeiito) > > _______________________________________________ > > dev-general mailing list > > [email protected] > > http://dir.gmane.org/gmane.comp.php.oxid.general > > _______________________________________________ > dev-general mailing list > [email protected] > http://dir.gmane.org/gmane.comp.php.oxid.general > _______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
