Hi, my ARB works but I just had to make a change to it. I checked my test Authorize.net and I don't see the transaction. I dont see it because it occurs once...so I have to wait for 3 months to see this transaction??
I want to have a trial period of 3 months, zero fee. Then one time occurance for xxx amount.
Is this correct?
sub.paymentSchedule.totalOccurrences = 1;
//occurs once
sub.paymentSchedule.totalOccurrencesSpecified =
true;
sub.amount =
decimal.Parse(lblSetupFee.Text);
sub.amountSpecified =
true;
//******* trial period
sub.trialAmount = 0.0M;
sub.trialAmountSpecified =
true;
sub.paymentSchedule.trialOccurrences = 3;
//-- only allow one free trial
sub.paymentSchedule.trialOccurrencesSpecified =
true;
//******* end of trial period
---- I do see this transaction tho. I do them in 2 separate calls. This one is 3 months free, then occurs once a month
sub.paymentSchedule.totalOccurrences = 999;
sub.paymentSchedule.totalOccurrencesSpecified =
true;
sub.amount =
decimal.Parse(price);
sub.amountSpecified =
true;
//******* trial period
sub.trialAmount = 0.0M;
sub.trialAmountSpecified =
true;
sub.paymentSchedule.trialOccurrences = 3;
//-- only allow one free trial
sub.paymentSchedule.trialOccurrencesSpecified =
true;
//******* end of trial period
05-29-2013 04:14 PM
http://www.authorize.net/support/ARB_SOAP_guide.pdf
Page 14
totalOccurrences
mber should include the Trial Occurrences
05-29-2013 04:40 PM
ok, so one mistake i have is it should be 9999 not 999. I corrected that..
But now, I still don't know why I don't see the transaction for trial period of 3 months and totalocuurance = 1 (if I change it to 9999...i just tried it as test)...then I see both transactions: the one that's totalocurrance of 9999 and the one I changed from 1 to 9999
05-29-2013 05:07 PM
05-29-2013 05:18 PM - edited 05-29-2013 05:19 PM
And I have it:
sub.amount =decimal.Parse(lblSetupFee.Text); //the amount that should be charged after 3 months...and it should be charged once
sub.paymentSchedule.totalOccurrences = 1; // i want it to occur only once
sub.trialAmount = 0.0M; //the trial amount is zero for 3 months
sub.paymentSchedule.trialOccurrences = 3; // free trial for 3 months
and after 3 months, it should be charged once.
I run the code and I dont see the transaction. If I change "1" to 9999 ..then I see it. I'm guessing it's because I want it to occur once and the transaction will show up in 3 months. Not sure if this is correct tho.
05-29-2013 05:33 PM
what happened if you change it like
sub.paymentSchedule.totalOccurrences = 4;
05-29-2013 06:03 PM