Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
A
authorizenetwebform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
authorizenetwebform
Commits
cf65ba7a
Commit
cf65ba7a
authored
Apr 24, 2019
by
jenlampton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Decrease number of transactions in trial period from 1 to 0.
parent
e72579d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
authorizenetwebform.module
authorizenetwebform.module
+2
-1
No files found.
authorizenetwebform.module
View file @
cf65ba7a
...
...
@@ -714,6 +714,7 @@ function _authorizenetwebform_prepare_data($transaction_type, $nid, $field_value
if
(
$transaction_type
==
'ARBCreateSubscriptionRequest'
)
{
$tomorrow
=
new
DateTime
(
'tomorrow'
);
//$tomorrow = new DateTime('tomorrow + 1day');
$start_date
=
$tomorrow
->
format
(
'Y-m-d'
);
$subscription_data
=
array
(
'name'
=>
'Recurring donation'
,
...
...
@@ -724,7 +725,7 @@ function _authorizenetwebform_prepare_data($transaction_type, $nid, $field_value
),
'startDate'
=>
$start_date
,
'totalOccurrences'
=>
9999
,
'trialOccurrences'
=>
1
,
'trialOccurrences'
=>
0
,
),
'amount'
=>
$amount
,
'trialAmount'
=>
'0.00'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment