At 11:25 PM 4/23/00 -0500, you wrote:
>How is everyone doing the credit card processing ?
>
>Anyone doing realtime -- some examples please
We're just going to the credit card authorization company for the
authorization right before the register domain command. We've actually
added an extra check by placing a final check for the availability of the
domain(s), since the possibility exists that the domain could be registered
by someone else between the time the user started the order process (they
could get sidetracked to another computer task, or whatever) and the time
they finally order. We do this lookup directly before the credit card auth
send, and if it returns any of the domains taken, it exits with an error,
and they have to start over and only select the available domains (they
could have been registering all three, .com, .net., and .org, for
instance). After this final lookup check, the credit card is checked with
the bank for authorization, and if the check is successful, then we
continue with the registration, otherwise, we exit with an error message.
In the case of multiple domains being ordered, if you've got that set as
boolean ON, then you have to trap the total amount for all domains (# of
domains X period) , calculate the amount at that point, and then send to
the credit card company only once, since you'll be within the foreach loop
for registering the multiple domains at that point. We just do it by
including it inside an if ($count == 1) condition, so it only goes to the
credit card company to charge the card on the first loop through in the
case of multiple domains.
Hope this helps you with the picture. Works for us.
Eric
Hostmaster [Beck Web Servers & Design]
mailto:hostmaster@bwsd.com
================================
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:27 EDT