cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Recurring with Itemized transaction

Hi,

 

Is it possible to send the Item details in the recurring transaction?

FYI - we are using accept.js

 

Below is how we make the recurring call

 

ApiOperationBase<ANetApiRequest, ANetApiResponse>.MerchantAuthentication = new merchantAuthenticationType()
{
//All login details 
};

 

paymentScheduleTypeInterval interval = new paymentScheduleTypeInterval();

interval.length = 1; 
interval.unit = "monthly";

 

paymentScheduleType schedule = new paymentScheduleType
{
interval = interval,
startDate = DateTime.Now.AddDays(1), // start date should be tomorrow
totalOccurrences = 9999 // 999 indicates no end date
};

customerProfileIdType customerProfile = new customerProfileIdType()
{
customerProfileId = CustomerProfileId
,customerPaymentProfileId = CustomerPaymentProfileId
,customerAddressId = CustomerShippingAddressId
};

 

ARBSubscriptionType subscriptionType = new ARBSubscriptionType()
{
amount = Viewmodel.Amount,
paymentSchedule = schedule,
profile = customerProfile
};

 

var request = new ARBCreateSubscriptionRequest { subscription = subscriptionType };

var controller = new ARBCreateSubscriptionController(request); 
controller.Execute(); //finally we execute.

 

Plesae guide us.

 

Thanks

Karthik.K

 

 

kkantharaj
Member
11 REPLIES 11

Now you can see online your favorite food price and compare that price to your favorite restaurants menu price by click on this Latest Menu Price.

Yes i'm also facing the same difficulty and there's no unmarried way from wherein i take steering about it however in this forum i know i'm able to receive a few precise reaction fromhere pleaseguide me about it.

lokasde33
Member