Form posting to other and sending email

D

Dennis

Hi, you are so wonderful here that I am sure your can help me with this
problem very quickly and simply.

I want to use FP to send an email so my client knows someone has made a
booking and to direct/redirect the form to a secure credit card processing
area (.cfm page) where they can confirm the booking by giving credit card
details. I can do one but not the other in FP03. There is a lot going on in
the booking page and I don't really want to convert it over to asp or
asp.net for the sake of doing these two things. I have tried setting the
secure .cfm page as a FP confirmation page but that doesn't work either.
Please help

The page is live at www.adventurecanterbury.co.nz/booking.htm

Cheers

Dennis
 
D

Dennis

I may have found a work around. If I send the form to email and a
confirmation page that confirms user input then set that to POST to the .cfm
secure site it seems to work.

Anyone kmow a better way?
 
D

Dennis

It still doesn't work as the secure site is set to retrieve info for a
specific page. Even though I have named the confirmation page, my browser
shows it to be
http://www.adventurecanterbury.co.nz/_vti_bin/shtml.dll/booking.htm. Do I
have to tell my secure service provider that it will be the page that all
transactions will come from? Will this be the same for NN, IE, and all
browsers all the time? In other words can I trust this to be a fixed page?
 
H

Harikumar H [MSFT]

Hi Dennis,

Create a new HTM page with the following code.

Add the following Meta tag in the htm page

<meta http-equiv="refresh" content="0;url=http://www.microsoft.com">

Change the URL to point to the cfm file.

Save the HTM file and make this page as the confirmation page.

Hope this helps


regards

Hari
MSFT

This posting is provided "as is" with no warranties and confers no rights
 
T

Thomas A. Rowe

Dennis,

Since you are using CFM, why don't you use CFM for the complete process (form and confirmation), and
then use the CDONTS, etc. to process the email, instead of trying to mix in the use of the FP
extensions in the process?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
D

Dennis

Hi Thomas

My hosting provider uses AspEmail and Jmail and that has been the option I
could use but the booking form was using a cgi to process the fields and
secure card before I took on this web site and hosting contract and think it
would need considerable changes to work with AspEmail. I have looked into
changing it to suit AspEmail but could not find the info I needed to get the
form to send email and then also post to the cfm. My programmer said that
response.redirect wouldn't work. I am using a third party's secure server
and their own cfm and the plan I have is not flexible in the way it handles
the form. The site will completely change in about 2 months to asp.net as we
are developing a new dynamic site for my client. My programmer has looked
into changing the page to asp.net in the meanwhile but gave up after a few
hours as he said he would have to rewrite the whole page. I thought FP would
be a good temp measure to process. I suppose, if I informed the secure
hosting to expect the form details to come from
http://www.adventurecanterbury.co.nz/_vti_bin/shtml.dll/booking.htm then
that might work for the meanwhile.

Thanks for your continued untiring support in this news group.
 
T

Thomas A. Rowe

Dennis

The submission process would need to broken into a least three steps, the first being to post to the
credit card processor to get approval, the credit card processor should provide some type of
approval code when it returns to your site, if the code is approval, then based on this code you
would then post the record the database and then send the email.

ASP mail components can only handle the sending of the email which would the third step.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
D

Dennis

Yeah, that is the way it usually is but this is a special secure provider.
Credit cards are not processed live, the info is just stored in a secure
area for retrieval later. It is a good and very cheap service ($5.00 nz per
month) and ideal for the tourism industry in NZ as tours and activities can
be cancelled due to weather and proves a nightmare when dealing with refunds
etc. Much better to be able to process the card after the tour has
commenced.

Therefore there doesn't need to be any approval code. The secure site just
forwards an email with the booking info and prompts to log in and retrieve
the credit card info. We want clients to make a booking but realise that
people can get cold feet when it comes to giving out credit card info and
therefore need to have an email sent before they get to the booking area so
we can personally contact them.

You'll see how it works if you go to
www.adventurecanterbury.co.nz/booking.htm and test it. Any bookings just go
to me for testing purposes anyway. Cleaver js hardcoded in the page also.
 
T

Thomas A. Rowe

Is it possible to have 2Day.com either:

1. return some type of response/value after receiving a post from the site, back to a specific page
on the site which could then complete the processing?

2. return back to a specific page on the site, after receiving a post from the site, which could
then complete the processing?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
D

Dennis

Thanks for your booking, you'll love visiting our city's attractions :)

No, there are very few options available with this secure service and as you
can imagine, they don't even want to provide much support for the $5 per
month it costs. Basically all you can do is add text headers and footers to
the secure page and have a link to a page after the credit card is processed
which doesn't send any form details.

The secure site is not working at the moment because it is expecting a post
to come from /booking.htm not /vti_bin/shtml.dll/booking.htm If I contact
them and say that this is the link that the form will post from I think it
will work. I was hoping to have everything (email sent and post to secure
site) working from the one form but two steps are better than not having it
working at all. When we change over to asp.net we will have a serious look
at doing this as the form will also have to send details to a database as
well.

Thanks
 
T

Thomas A. Rowe

Dennis,

When you convert over to ASP, ASP.net or whatever, you can eliminate all of these issues by
purchasing a SSL certificate for the site, then you can keep the entire process within the site.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
D

Dennis

Haha, sorry, but I just imagined the look on my clients face if I were to
tell him that (and give him the price).

Good idea all the same. My programmer and I have discussed that when the SSL
price comes down more and I have a few more clients using the 2day.com
system (currently we have three @ $5 per month), We will get a SSL ourselves
and then setup a more configurable processing system and transfer all our
clients over to it. It would be nice to have a secure area to play with and
offer with our site hosting plans. GoDaddy is offering good prices but
currently only available in the US and Canada.
 
D

Dennis

Wow, thanks for that. I will have a good look at it after a sleep. It looks
like there are some great prices there. Doesn't really matter who the SSL is
from as long as that padlock appears in the browser.

Thanks again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top