Click or drag to resize
Infosoft Logo

StartPaymentRequest Class

Provides data for the request to the StartPayment operation on IPaymentService.
Inheritance Hierarchy
SystemObject
  Infosoft.Common.Contracts.MessageContracts.Economy.PaymentsStartPaymentRequest

Namespace: Infosoft.Common.Contracts.MessageContracts.Economy.Payments
Assembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax
public class StartPaymentRequest

The StartPaymentRequest type exposes the following members.

Properties
 NameDescription
Public propertyCode exampleCancelUrl Gets or sets the URL that the user should be redirected upon canceling the purchase.
Public propertyClientIpAddress Gets or sets the client IP address, i.e. the IP address of the end user. This is required for some providers.
Public propertyCode exampleCultureName Gets or sets the culture name to be used when displaying the payment terminal to the end user. The supported languages depend on the underlying provider. See remarks for details on the input format.
Public propertyCurrencyCode Gets or sets the currency code to use. Must be present in the ISO 4217 currency list. Examples include "NOK", "USD", "EUR", etc.
Public propertyExternalOrderId Gets or sets an optional external order ID. This ID will be saved in the Infosoft database, and can later be used to identify the transaction. It will not be sent to the underlying provider.
Public propertyPaymentFlow Gets or sets the payment flow specifier. This determines whether money will automatically be withdrawn from the customer's account as soon as CompletePayment is called (if "Instant"), or if this is to be done manually with CapturePayment later (if "TwoPhased").
Public propertyPaymentOrderType Gets or sets the payment order type to associate with this payment. This has no effect on the payment itself, but can be used to more easily trace the payment later on. If in doubt, use "External".
Public propertyPaymentSetupCode Gets or sets the payment setup code.
Public propertyPaymentTypeList Gets or sets a list of payment types that the user should be able to choose from. If this is empty, all payment types enabled for the provider will be used.
Public propertyPrice Gets or sets the price to use for the transaction, in the smallest possible units. E.g. one dollar should be given as 100.
Public propertyProductDescription Gets or sets an optional description of the product being sold to the customer, suitable for display for the end user.
Public propertyCode exampleReturnUrl Gets or sets the URL that the user should be redirected to after the purchase is completed, i.e. after entering credit card details.
Public propertyTaxPercent Gets or sets an optional tax value, as a percentage of the price, in multiples of 100 for each percentage point, e.g. 25% = 2500.
Top
See Also