Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Auto submit an order (form)



******    message to minivend-users from "Mats Andersson" <Mats@brain.syh.fi>     ******

This is a repost but I have not solved it yet so I try again.

I'm using an online banking system for payment. I send the customer 
to the bank with a Form POST. In the form are various hidden values 
that are processed by the bank. If there is a successful payment the 
user returns to a special page "redirect.html". On this page I have 
Perl scripts that parses the return URL and checks if payment have 
been made. This part I have solved. 

Problem is: Depending on the outcome of the check the program should 
either submit the order and present the customer with "receipt.html" 
or send them to an other page "failure.html". Now if the test is 
successful I build a form on the page, put some text and a button and 
asks customer to press the button to place the order. This is a 
kludge. I would like this to go automagically. User should never see 
"redirect.html". He should be taken to either success or failure page.

Any help?

Thank you

- Mats

Soft Brains Ab Oy
0500-661356

Pie Iesu domine, dona eis requiem....[bonk]
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: