Show / Hide Table of Contents

    Class PaymentForm

    Payment form related methods.

    Inheritance
    object
    PaymentForm
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: SKMV3Methods
    Assembly: Cryptolens.Licensing.CrossPlatform.dll
    Syntax
    public class PaymentForm

    Methods

    | Improve this Doc View Source

    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
    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
    • Improve this Doc
    • View Source
    Back to top Copyright © Cryptolens AB