How i implement Automated Recurring Billing (ARB) in MVC 4

160 views Asked by At

I want to implement the Automated Recurring Billing (ARB) system with my registration module in mvc4 ,

and how i check the subscription is start

  SubscriptionGateway target = new SubscriptionGateway(ApiLogin, TransactionKey);
        ISubscriptionRequest subscription = SubscriptionRequest.CreateMonthly("[email protected]",
                                                                              "ARB Subscrition Test ", (decimal)6.50,6);
        subscription.CardNumber = "4111111111111111";
        subscription.CardExpirationMonth = 12;
        subscription.CardExpirationYear = 20;



        Address billToAddress = new Address();
        billToAddress.First = "gh";
        billToAddress.Last = "treggjhw";
        billToAddress.Company = "tre";
        billToAddress.City = "twe";
        billToAddress.Zip = "160055";
        subscription.BillingAddress = billToAddress;

            ISubscriptionRequest actual = target.CreateSubscription(subscription);

          var sid =  actual.SubscriptionID;

I have get the SubscriptionID in sid, but please tell how i confirm it and update it

0

There are 0 answers