Hi Rich, That does work but was chatting to the support at worldpay and they wouldn't accept a redirect as a valid solution. Apparently their system stops all server side redirects but cant catch client side ones.
However, they insist that the receipt that worldpay displays must be displayed on the worldpay site. Its their receipt for the transaction adnd the cutomer must be given a chance to store it. If not, apparently its illegal. Other than that, the system was a doodle to set up once I'd worked out my mistake (didnt put http:// in front of the callback url). Doug -----Original Message----- From: Rich Wild [mailto:[EMAIL PROTECTED]] Sent: 05 September 2002 17:22 To: '[EMAIL PROTECTED]' Subject: RE: [ cf-dev ] worldpay this should work for you: <cfif isDefined("form.stresult") AND form.stresult eq 1> <!--- transaction successful, update record, kick to success ---> <cfquery name="update_record_details" datasource="#dsnvar#" dbtype="#dsntype#"> UPDATE com_order_record SET order_status = 'authorised', blah blah blah blah WHERE order_internal_id = '#order#' </cfquery> <meta http-equiv="refresh" content="0;url=http://www.myshop.com/success.cfm"> <cfelse> <meta http-equiv="refresh" content="0;url=http://www.myshop.com/failure.cfm"> </cfif> > -----Original Message----- > From: Douglas McKenzie [mailto:[EMAIL PROTECTED]] > Sent: 05 September 2002 17:27 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] worldpay > > > Got that bit. But there should be a callback response to my > server saying > whether the transaction has gone through or not and allowing > me to continue > with my process. > > The manual mentions it but not in a very useful manner thats why I was > hoping someone could explain it better or show me some demo code. > > -----Original Message----- > From: Snake [mailto:[EMAIL PROTECTED]] > Sent: 05 September 2002 17:26 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] worldpay > > > Then you don't need anything more than a simple HTML form that submits > the details to their server. The docs that they send you gives all the > details on the form fields you can submit and get returned > back to your > callback page. > There really is nothing to it. The select junior is all done on their > servers not yours. > > > -----Original Message----- > From: Douglas McKenzie [mailto:[EMAIL PROTECTED]] > Sent: 05 September 2002 17:19 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] worldpay > > > select junior > > -----Original Message----- > From: Snake [mailto:[EMAIL PROTECTED]] > Sent: 05 September 2002 17:17 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] worldpay > > > Are you using the select junior or the COM intergration. > > -----Original Message----- > From: Douglas McKenzie [mailto:[EMAIL PROTECTED]] > Sent: 05 September 2002 17:10 > To: CF-Dev > Subject: [ cf-dev ] worldpay > > > Hi, > > I'm adding worldpay ecommerce to a site and was just > wondering if anyone > on the list had done it before. If you've got some demo code I could > look at it would be a great help as the worldpay guide is a > right pain. > > Cheers, > Douglas McKenzie > > ---------------------------------------- > Internet Developer / Designer > [EMAIL PROTECTED] > 07984 462 516 > ---------------------------------------- > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] For > human help, e-mail: [EMAIL PROTECTED] > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] For > human help, e-mail: [EMAIL PROTECTED] > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] For > human help, e-mail: [EMAIL PROTECTED] > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
