Class PaymentForm
Payment form related methods.
Inheritance
System.Object
PaymentForm
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SKM.V3.Methods
Assembly: Cryptolens.Licensing.dll
Syntax
public class PaymentForm
Methods
CreateSession(String, CreateSessionModel)
This method will create a new session for a Payment Form. It allows you to customize appearance of the form (such as price, heading, etc). You should only create new sessions from a server side (i.e. never directly from your application). Note, session will only work once and it will eventually expire depending on Expires parameter.
Declaration
public static CreateSessionResult CreateSession(string token, CreateSessionModel parameters)
Parameters
Type | Name | Description |
---|---|---|
System.String | token | The access token. Read more at https://app.cryptolens.io/docs/api/v3/Auth |
CreateSessionModel | parameters | The parameters that the method needs |
Returns
Type | Description |
---|---|
CreateSessionResult |