Credit card processing
Hershel Fisch
hershrev at realtorsgroup.us
Wed Dec 1 15:10:57 EST 2004
Hi gentlemen , you are missing the point . the question is the same
way you could do CC payment thru an ms internet explorer app. that
connects to certain clearing houses this should be done from within a
RR window ? and the answer is there is an external from ???? I think
from Alt. to run explorer or ??? the other name from within RR.
Hershel
On Wednesday, December 1, 2004, at 02:45 PM, Nelson Zink wrote:
> To all,
>
> For what it's worth here is an algorithm to identify 'good' credit card
> numbers:
>
> ---- Determine the number of digits
> if the number of chars of temp =16 or the number of chars of
> temp=13
> then
> ------Verification Algorithm
> if the number of chars of temp=16 then
> repeat with zz=1 to 8
> put 2*(char ((2*zz)-1) of temp) into CC
> if CC>=10 then put (cc mod 10)+1 into char ((2*zz)-1) of temp
> else put CC into char ((2*zz)-1) of temp
> end repeat
> end if
>
> if the number of chars of temp=13 then
> repeat with zz=1 to 6
> put 2*(char (2*zz) of temp) into CC
> if CC>=10 then put (cc mod 10)+1 into char (2*zz) of temp
> else put CC into char (2*zz) of temp
> end repeat
> end if
>
> ------ Sum all digits
> put empty into TT
> repeat with zz=1 to the number of chars of temp
> add char zz of temp to TT
> end repeat
> if TT mod 10 is not 0 then put "Number in error, re-enter Credit
> Card
> number."
>
> else put "Re-enter Credit Card number-- incorrect number of
> digits."
>
> end if
>
>
> Nelson
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list