RE: [PHP] Re: How to do Recurring Credit Card Charges?
| From: | Jonathan Rosenberg | Date: | Tue, 17 Sep 2002 00:36:19 +0000 |
| Subject: | RE: [PHP] Re: How to do Recurring Credit Card Charges? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116581@lists.php.net to get a copy of this message | ||
----Original Message-----
> From: Monty [mailto:monty3@hotmail.com]
> Sent: Monday, September 16, 2002 14:23 PM
>
>
> JR, thanks a lot for your advice. I have a few
> additional questions if you don't mind me asking...
> 1) Can you explain how you produce the encrypted
> e-mail? Is that something done with PHP or another
> piece of software?
If I had had mcrypt available in PHP when I first built this, I would have
just used this facility. But the first server I was on didn't have mcrypt,
so I rolled my own implementation of TEA.
> 2) What info do you encrypt? The info Authoize.Net
> returns to you, or the info they filled out in the
> form before you send if off to AuthNet for
> verification?
I encrypt the information that Authorize.Net requires for a batch
transaction, along with few additional pieces of information (e.g., a unique
transaction #, cardholder name).
> My concern is being sure I only keep a list
> of valid and approved credit card numbers, not
> any that are declined. And I'm not sure at
> whether or not AuthNet will return the CC
> number after being approved.
I don't think A.N returns the CC #. But, that's no problem, I just retain
it in the PHP page & use it if the authorization succeeds. Does this make
sense?
> 3) How do you deal with members who want to change
> their credit card number or cancel their membership?
> Do you update the CC list you keep manually?
Yep. Just update the DB by hand. It's fast & easy.
> Monty
--
JR