Xavier, I wrote a similar app a couple years ago for PayFlowLink using WORedirect: public WOComponent sendToVerisign() { WORedirect nextPage; nextPage = new WORedirect(context()); nextPage.setUrl (yourTargetUrlAsString()); <-- use your banks method here return nextPage; } I created a component that extended WOComponent, which contained a WOActiveImage linked to the above method. I placed mine on a 'verify order' page, and it worked great. The return side of the transaction poses a bigger problem if you are running multiple instances of your app. If your bank makes a return-post to a directAction, WO will probably create a new session for your user. To deal with this, I passed the session and instance number to verisign, which in turn is part of their return post. The return-post directAction I provided was to a separate app, that parsed the return-post and redirected the user to the original instance & session much in the same way as the above method. If you are running a single instance, then it is a simple DA. Hope that helps, Jim :)
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to archive@mail-archive.com