On Thursday, July 9, 2015 at 8:46:57 AM UTC-4, Sepehr Mohamadi wrote:
>
> Thanks Anthony, 
>
> But Moderators don' let me to attache the gateway document to the forum, 
> Maybe I can give the link to it?
>
> By the way, process is like this:
>
> 1- Customer is in my site and request for an order.
> 2- I call for PayRequest Method in Payment gateway(PG) with payment inf 
> and a callback URL in my own site and PG give me a Confirmation Code.
> 3- I redirect the User to a URL in PG with Post method with Confirmation 
> Code data.
>

Are you sure the PG instructions tell you to *redirect* the user via a post 
request? That seems unlikely given that browsers will not allow this 
without popping up a warning to the user. Instead, you should probably 
simply change the form action attribute so the form posts directly to the 
PG instead of posting to your server. If the posted data includes financial 
account numbers, you probably don't want it on your server anyway, as that 
increases your liability. Anyway, it's hard to say what you need to do 
without knowing the requirements of the PG.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to