On 19 nov, 14:32, fys <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My application has a single entry point, which is fed an order-id and
> the order's price. The user enters credit card payment information in
> my single page form which redirects the user to the bank's virtual POS
> server for a 3D Secure transaction. To redirect the user to the bank's
> server, I used the native JavaScript hack, but the user's credit card
> info shows on the address bar. I looked for a way to POST the data to
> the virtual POS server but couldn't. As a workaround, I developed a
> service to store the data in the session, and now I first redirect to
> a servlet of my own, which constructs the target redirect form from
> the data now in the user's session and does a second redirect to the
> bank's server.
>
> The problem with this approach is, my application is no longer
> stateless and the load-balancing content switch in front of our four
> servers now has to be configured to switch all of a user's requests to
> the same server on which the user's session originated.
>
> What I'm looking for is a way to { $wnd.location.url = "bank's 3D
> Secure server" } with an HTTP POST.
>
> Any help would be much appreciated.

You might be able to use FormPanel targetting _self (or _parent or
_top):

   FormPanel form = new FormPanel("_self");
   form.setAction("bank's 3D secure server");

Then add some fields (Hidden or TextBox or whatever, but make sure you
call their setName() to have them sent with the form), populate them
(or have the user populate them) and submit the form.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to