kapilt / getpaid

Automatically exported from code.google.com/p/getpaid
0 stars 0 forks source link

getpaid.authorizedotnet-0.3.3 module does not use CVC code #279

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set authorize.net account to check Card Code Verification (CCV)
2. Use getPaid authorize.net to make a payment.
3. Transaction will be declined due to missing CCV.

What is the expected output? 
The authorize.net payment form has a field for CCV yet it does not pass this 
field to 
authorize.net.

Fields passed are:
From (getpaid.authorizedotnet-0.3.3) authorizenet.py  line: 86-101
        options = dict(
            amount = str(amount),
            card_num = payment.credit_card,
            last_name = payment.name_on_card,
            phone     = payment.bill_phone_number,
            exp_date = expiration_date,
            address = billing.bill_first_line,
            city = billing.bill_city,
            state = billing.bill_state,
            zip = billing.bill_postal_code,
            invoice_num = order_id,
            description = contact_fields
            )

        result = self.processor.authorize( **options )

 the options variable should include
         card_code = payment.cc_cvc,

This allows authenticating using the card verification code in addition to 
address, number,... The 
CVC is already requested in the CC form it just isn't passed to the processor 
in the getPaid 
authorize.net code.

Original issue reported on code.google.com by tau...@gmail.com on 23 Nov 2009 at 2:24