|
If you have already sent the card info to the credit card processeor and you
have gotten an approval from them to charge the card (charge cleared) and
gotten a verification number back from them...then that person's card has
been charged and you're done. If they abandon the process or otherwise
claim they changed their minds, then they need to contact you in a separate
process or their card issuer, to get a refund.
Once the card is charged, it's charged. Unless you are doing a block on the
account for a certain amount of money first. In which case you don't
actually send a request to the card processor to debit the card until that
individual presses a final "OK" button or equivalent.
You have two options with a credit card process like this:
1. You charge the card immediately, which is one type of transaction you
send to the card processor
2. You block out a certain amount of money on the card, get an
authorization # back for that from the procecessor, ask for the customer to
finish the transaction and if they do, you send that to the card processor
again, this time, requesting they charge now charge the card.
I guess I fail to see why you would ever need any kind of built in delay for
this. All you'll end up doing is getting the timing wrong and pissing
people off.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Raul A. Jager W.
Sent: Thursday, June 05, 2008 3:06 PM
To: Midrange Systems Technical Discussion
Subject: Wait for one hour and then run
I have a program for seling newspaper ads by credit card.
It works like this:
Customer selects the ad, how big, how many days, etc. and gets the price,
Next I send him to the site of the credit card processor.
Once finish, the customer gets send back and I verify (with the processor) if the transaction is Ok.
Now I have to take the steps to recover the transaction if something goes wrong, like customer abandoning the card processor or not returnig to finish the transaction.
One idea is to send a job to a jobq to be executed in 1 hour from now, if it founds the transaction completed, just returns, otherwise calls the processor and finishes or rejects the transaction.
Is there a way to tell sbmjob to wait for one hour? Or I need to set date and time?
Any better ideas?
TIA
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.