Authorize.net Plugin x_exp_date Issue

How to fix Authorize.net plugin x_exp_date invalid error.

Overview

The issue occurs when the plugin only sends the month value because the year field is not properly mapped.
Ensure both the month and year fields are correctly mapped in the Field ID settings to send the complete expiration date.

Answered
me melvins138 06 May, 2014
Hi,

I am having an issue with the Authorize.net plugin. I have the "full" version and set everything up properly, yet, I still have an issue with the x_exp_date not being valid. I have followed the steps listed here with no success.

I have both the month and date set up as drop down lists, and as the unofficial setup says to do, I removed the quotes around the options. I am using Joomla 3.2.3 with V4 RC3.5.3, which looks a little different than the instructions.

the x_exp_date is only showing the month not the month/year.

I have the debugger turned on, and here is the response I am getting:

x_login=XXX
x_version=3.1&
x_delim_char=%7C&
x_delim_data=TRUE&
x_url=FALSE&
x_type=AUTH_CAPTURE&
x_method=CC&
x_tran_key=XXX
x_relay_response=FALSE&
x_card_num=XXXX
x_exp_date=04&
x_description=Outright+Gift+To+The+Cardinal+Fund+&
x_first_name=XXXX&
x_last_name=XXXX&
x_amount=1.00&
x_address=XXXX.&
x_city=XXX&
x_state=VA&
x_zip=XXXX&
x_invoice_num=&
x_cust_id=&
x_company=&
x_country=United+States&
x_phone=XXXX&
x_fax=&
x_email=XXXXXX



Response Code: Error
Response Subcode: 1
Response Reason Code: 7
Response Reason Text: Credit card expiration date is invalid.
Approval Code: NO VALUE RETURNED
AVS Result Code: P
Transaction ID: 0
Invoice Number (x_invoice_num): NO VALUE RETURNED
Description (x_description): Outright Gift To The Cardinal Fund
Amount (x_amount): 1.00
Method (x_method): CC
Transaction Type (x_type): auth_capture
Customer ID (x_cust_id): NO VALUE RETURNED
Cardholder First Name (x_first_name): XXXX
Cardholder Last Name (x_last_name): XXXX
Company (x_company): NO VALUE RETURNED
Billing Address (x_address): XXXX
City (x_city): XXXX
State (x_state): VA
ZIP (x_zip): XXXX
Country (x_country): United States
Phone (x_phone): XXXX
Fax (x_fax): NO VALUE RETURNED
E-Mail Address (x_email): XXXXXX@XXXXX.com
Ship to First Name (x_ship_to_first_name): NO VALUE RETURNED
Ship to Last Name (x_ship_to_last_name): NO VALUE RETURNED
Ship to Company (x_ship_to_company): NO VALUE RETURNED
Ship to Address (x_ship_to_address): NO VALUE RETURNED
Ship to City (x_ship_to_city): NO VALUE RETURNED
Ship to State (x_ship_to_state): NO VALUE RETURNED
Ship to ZIP (x_ship_to_zip): NO VALUE RETURNED
Ship to Country (x_ship_to_country): NO VALUE RETURNED
Tax Amount (x_tax): NO VALUE RETURNED
Duty Amount (x_duty): NO VALUE RETURNED
Freight Amount (x_freight): NO VALUE RETURNED
Tax Exempt Flag (x_tax_exempt): NO VALUE RETURNED
PO Number (x_po_num): NO VALUE RETURNED
MD5 Hash: 800B923EFD43990CD23B3D8C118FAAEF
Card Code Response: NO VALUE RETURNED
Reserved (40): NO VALUE RETURNED
Reserved (41): NO VALUE RETURNED
Reserved (42): NO VALUE RETURNED
Reserved (43): NO VALUE RETURNED
Reserved (44): NO VALUE RETURNED
Reserved (45): NO VALUE RETURNED
Reserved (46): NO VALUE RETURNED
Reserved (47): NO VALUE RETURNED
Reserved (48): NO VALUE RETURNED
Reserved (49): NO VALUE RETURNED
Reserved (50): NO VALUE RETURNED
Reserved (51): XXXX4141
Reserved (52): Visa
Reserved (53): NO VALUE RETURNED
Reserved (54): NO VALUE RETURNED
Reserved (55): NO VALUE RETURNED
Reserved (56): NO VALUE RETURNED
Reserved (57): NO VALUE RETURNED
Reserved (58): NO VALUE RETURNED
Reserved (59): NO VALUE RETURNED
Reserved (60): NO VALUE RETURNED
Reserved (61): NO VALUE RETURNED
Reserved (62): NO VALUE RETURNED
Reserved (63): NO VALUE RETURNED
Reserved (64): NO VALUE RETURNED
Reserved (65): NO VALUE RETURNED
Reserved (66): NO VALUE RETURNED
Reserved (67): NO VALUE RETURNED
Reserved (68): NO VALUE RETURNED
Merchant-defined (69): : FALSE

Please let me know if I need to provide any additional information to help solve this problem.

Thanks,
Melvins138
Max_admin Max_admin 18 May, 2014
Answer
1 Likes
Hi Melvins,

Are you sure that you have mapped your form fields names correctly ? specially the expiry year field in this case ?

You can send me any private info using the "contact us" page.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
me melvins138 19 May, 2014
Hi Max,

I should have marked this as fixed, as I realized I needed to place the the x_exp_moth and x_exp_year in the Field ID as well, and that solved my problem.

Thanks for the reply,
Melvins
This topic is locked and no more replies can be posted.