Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.3.5
-
Fix Version/s: 4.2.0
-
Component/s: CiviContribute
-
Labels:None
Description
Running CiviCRM 3.3.5 and Drupal 6.20.
Our server is set to Pacific time. When users create ARB subscriptions between 11pm and midnight, they receive the message "E00017:Start Date must not occur before the submission date." The ARB documentation (http://www.authorize.net/support/ARB_guide.pdf) says, "Validation is performed against local server time, which is Mountain Time." The file CRM/Core/Payment/AuthorizeNet.php, line 232 does not adjust the timezone to Mountain time before printing the date, which will cause the error in any server west of the Rockies.
To duplicate:
1. Set up an authorize.net payment processor, and a CiviContribute page that takes recurring payments.
2. Adjust the system's timezone to Pacific time.
3. Wait until 11:30 PM Pacific time, and create a subscription.
What should happen: The payment should go through.
What happens: The above-described error is displayed to the user and the subscription is not started, nor does the user have any workaround except for to wait an hour.
As a workaround, I'm going to adjust the timezone of my Drupal setup to Mountain time. We'll see if that works.