Skip to content

Commit 9ede631

Browse files
committed
Merge pull request #105 from AuthorizeNet/Future
Bug fix release for November 2015
2 parents 3d2bb81 + ae54133 commit 9ede631

18 files changed

+3069
-472
lines changed

Authorize.NET/AIM/Requests/GatewayRequest.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,15 @@ public string Zip {
866866
get { return Get(ApiFields.Zip); }
867867
set { Queue(ApiFields.Zip, value); }
868868
}
869-
869+
/// <summary>
870+
/// Gets or sets the solution id.
871+
/// </summary>
872+
/// <value>The solution id.</value>
873+
public string SolutionID
874+
{
875+
get { return Get(ApiFields.SolutionID); }
876+
set { Queue(ApiFields.SolutionID, value); }
877+
}
870878

871879

872880
#endregion

Authorize.NET/AIM/Requests/IGatewayRequest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,6 @@ public interface IGatewayRequest {
8181
string Type { get; set; }
8282
string Version { get; set; }
8383
string Zip { get; set; }
84+
string SolutionID { get; set; }
8485
}
8586
}

Authorize.NET/ARB/SubscriptionRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,12 @@ public ARBSubscriptionType ToAPI(){
269269
sub.paymentSchedule.totalOccurrencesSpecified = true;
270270

271271
// free 1 month trial
272-
if (this.TrialBillingCycles > 0) {
272+
if (this.TrialBillingCycles >= 0) {
273273
sub.paymentSchedule.trialOccurrences = this.TrialBillingCycles;
274274
sub.paymentSchedule.trialOccurrencesSpecified = true;
275275
}
276276

277-
if (this.TrialAmount > 0) {
277+
if (this.TrialAmount >= 0) {
278278
sub.trialAmount = this.TrialAmount;
279279
sub.trialAmountSpecified = true;
280280
}

0 commit comments

Comments
 (0)