SKM.V3.MethodsVersion: 4.0.54. Both packages; all six documented target frameworks.
Result == ResultType.Success before using its data. In version 4.0.54, handled request and JSON errors normally return ResultType.Error with a diagnostic Message. A non-null result alone does not mean the request succeeded. See Request Errors.
Constructors
PaymentForm()
Creates an empty PaymentForm object. This constructor does not send an API request.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.
Returns:
CreateSessionResult. The API response. Check Result and Message before using the returned data.
.NET SDK Reference · Reviewed Source Revision