Click or drag to resize
CMSAuthorizeNetProvider Class
Class providing payment using Authorize.NET payment gateway.
Inheritance Hierarchy

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public class CMSAuthorizeNetProvider : CMSPaymentGatewayProvider, 
	IDirectPaymentGatewayProvider, IPaymentGatewayProvider, IDelayedPaymentGatewayProvider

The CMSAuthorizeNetProvider type exposes the following members.

Constructors
  NameDescription
Public methodCMSAuthorizeNetProvider
Top
Fields
  NameDescription
Protected fieldmIsPaymentCompleted
Indicates whether payment is already completed.
(Inherited from CMSPaymentGatewayProvider.)
Protected fieldmOrder
Order object which is going to be paid.
(Inherited from CMSPaymentGatewayProvider.)
Protected fieldmOrderId
Order ID.
(Inherited from CMSPaymentGatewayProvider.)
Protected fieldmPaymentResult
Payment result.
(Inherited from CMSPaymentGatewayProvider.)
Protected fieldmShoppingCartInfoObj
Shopping cart object which stores all data during the checkout process.
(Inherited from CMSPaymentGatewayProvider.)
Top
Properties
  NameDescription
Protected propertyAuthorizeNetPaymentResult
Gets strongly typed payment result.
Public propertyErrorMessage
Payment result message displayed to user when payment fails.
(Inherited from CMSPaymentGatewayProvider.)
Public propertyInfoMessage
Payment result message displayed to user when payment succeeds.
(Inherited from CMSPaymentGatewayProvider.)
Public propertyIsPaymentAuthorized
Indicates whether the payment is already authorized meaning that payment capture is possible.
Public propertyIsPaymentCompleted
Indicates whether payment is already completed.
(Inherited from CMSPaymentGatewayProvider.)
Public propertyOrder
Order object which is going to be paid.
(Inherited from CMSPaymentGatewayProvider.)
Public propertyOrderId
Order ID. Set this value when you want to process payment for the existing order outside the checkout process.
(Inherited from CMSPaymentGatewayProvider.)
Protected propertyPaymentResult
Payment result.
(Inherited from CMSPaymentGatewayProvider.)
Public propertyShoppingCartInfoObj
Shopping cart object which stores all data during the checkout process. If OrderId is set it is created from existing order, otherwise it is returned from current shopping cart control.
(Inherited from CMSPaymentGatewayProvider.)
Top
Methods
  NameDescription
Protected methodAddAdditionalInfoToPaymentResult
Adds some additional information to payment result, such as time stamp and payment method name.
(Inherited from CMSPaymentGatewayProvider.)
Public methodAuthorizePayment
Authorizes a payment.
Protected methodAuthorizePaymentInternal
Authorizes a payment.
Public methodCapturePayment
Captures a payment.
Protected methodCapturePaymentInternal
Captures a payment.
Protected methodCheckOrder
Check, whether Order and Shopping cart objects are present. In case Order or ShoppingcartInfo object is not set
(Inherited from CMSPaymentGatewayProvider.)
Protected methodCreatePaymentResultInfo
Creates Authorize.Net payment result object.
(Overrides CMSPaymentGatewayProviderCreatePaymentResultInfo.)
Protected methodDeserializeResponseT
Process XML response and return object containing data from response.
Protected methodGetAddress
Creates address for payment request. Address represents billing or shipping.
Protected methodGetCapturePaymentRequest
Creates requet object for capturing authorized payment.
Protected methodGetCustomer
Creates customer part of payment request.
Protected methodGetMainMessageTextRepresentation
Get string representation of information in message.
Protected methodGetMerchantAuthentication
Creates authenttication for payment request.
Protected methodGetOrder
Creates order part of payment request.
Protected methodGetPartialAmount
Creates partial amount part of payment request. Partial amount represents data about tax or shipping.
Protected methodGetPayment
Creates payment part of payment request.
Protected methodGetPaymentGatewayUrl
Returns payment gateway url.
(Inherited from CMSPaymentGatewayProvider.)
Protected methodGetPaymentRequest
Creates request object for performing payment.
Protected methodGetTransactionResponseName
Returns transaction response name for given code.
Protected methodIsExpirationValid
Validates whether expiration is valid.
Public methodIsUserAuthorizedToFinishPayment
Checks whether specified user is authorized to finish payment.
(Inherited from CMSPaymentGatewayProvider.)
Protected methodMatchesRegex
Returns whether given data matches regexPattern.
Public methodProcessPayment
Proceses the payment in external gateway directly.
Protected methodProcessPaymentInternal
Proceses the payment in external gateway directly.
Protected methodProcessRequest
Serializes and send payment request to Authorize.NET gateway, then receive and deserialize returned response.
Protected methodRoundPrice
Transform given price into string representation according to given formatProvider and formatString.
(Inherited from CMSPaymentGatewayProvider.)
Protected methodSerializeRequestT
Serializes given request object.
Protected methodTryProcessError
Check whether response from gateway is ErrorResponse or TransactionResponse containing errors. Create error message and description.
Protected methodUpdateOrderPaymentResult
Updates order payment result in database.
(Inherited from CMSPaymentGatewayProvider.)
Protected methodUpdatePaymentInfo
Get information about payment status and payment description.
Public methodUseDelayedPayment
Returns whether both gateway and provider shall use delayed payment method.
(Overrides CMSPaymentGatewayProviderUseDelayedPayment.)
Public methodValidateCustomData
Validates credit card paymentData submitted by user.
(Overrides CMSPaymentGatewayProviderValidateCustomData(IDictionaryString, Object).)
Top
See Also