John Cappiello wrote: > On Wed, Feb 07, 2007 at 12:48:32PM -0500, John Cappiello wrote: >> The downside to this method however is the response the client gets to their >> credit card submission is from the merchant, and not you, the service >> provider. > > Well I guess that's not true, you can just get the response via LWP or what > not. >
I wasn't suggesting you redirect the client to the Merchant site. This is what I was suggesting: (my lame ascii art will require viewing with a fixed-width font) ,--------------, | payment form | '--------------' | | ,-------------, | please wait | '-------------' | meta refresh | ,-----------------, ,---------------, | process payment |<== LWP ==>| merchant site | '-----------------' '---------------' | 303 redirect | ,--------------, | payment done | '--------------' The final 303 redirect is optional, but IMHO, is a good idea. There are upto 4 scripts here, although you could have some of these steps handled by the same script. 1 - is the form 2 - stores the form data somehow, and redirects using a meta refresh to 3 - retrieves the stored data from 2, contacts the merchant site, performs magic etc. (while this is happening, the user still sees the 'please wait' page from 2). When done, either displays a new page, or redirects to a new page. 4 - inform the user of the outcome. I think it's understood, but just wanted to make sure. :) -Oli
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users