RE: [PHP] Credit card debiting and preventing the user from aborting
| From: | James Moore | Date: | Wed, 23 Aug 2000 08:48:37 +0000 |
| Subject: | RE: [PHP] Credit card debiting and preventing the user from aborting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13114@lists.php.net to get a copy of this message | ||
> However, the process of debiting a card takes around 20 seconds and our
> previous attempts at online payment have proven that 50% of our
> customers
> press STOP, BACK or RELOAD during this 20-second period. This leads to
> problems as sometimes the transaction is carried out, but no message is
> displayed, hence the customer presses BUY again and then pays for
> his or her
> product twice. (We have had cases where exactly this has happened four
> times in a row. As our software costs USD 1000.00 per licence, I am sure
> you can imagine how annoyed this customer was when he got 4x USD
> 1000.00 on
> his credit card bill.)
>
> My questions is, (how) is it possible to continue executing my debiting
> script and display the results in the customer's browser even if
> he or she
> presses STOP?
You cant, your best option is to say on the button (Click Here to confirm
order - after this point you cannot stop the transaction) or somthing
similar then register ignore_user_abort() so that the transaction does not
stop when they abort.
James