2
Answers

PayPal recurring payments using DLL Using MVC(C#)

I am integrating paypal payment gateway in one of site.After successful payment But My Second need is PayPal recurring payments Using DLL
 
Suppose that client choosed first option and after 30 days decided to continue service. Is it possible to set reccuring payment via paypal without need of client's interference* (we do not store any credit cards numbers in database).
 
I am Using this reference. https://developer.paypal.com/docs/classic/paypal-payments-pro/integration-guide/recurring-payments/
 
Please Give Demo Site 
Answers (2)
0
Jaganathan Bantheswaran
NA 21.9k 2.2m 11y
Provide some code. where you want to do this? At what stage you are now?

Meanwhile,

You can add properties dynamically in two ways,

1. using ExpandoObject

   var dynamicObject = new ExpandoObject();
   dynamicObject.YourPro1 = "Your Value 1";
   dynamicObject.YourPro1 = 1234;

2. using Dictionary

    public class MyClass
   {
       public string Template { get; set; }
       public string Term { get; set; }
       public Dictionary<string, string> Properties{ get; private set; }

      public MyClass()
      {
          Properties= new Dictionary<string, string>();
      }

      public void AddProperty(string key, string value)
      {
             Properties.Add(key, value);
      }
   }

    // to be used like this:
    MyClass instance = new MyClass();
    instance.AddProperty("Email", "test@example.com");
    instance.AddProperty("Phone", "976856734");

3. using Reflection Emit

    Please read here with Example.