The CMSCreditPaymentProvider type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CMSCreditPaymentProvider |
Methods
Name | Description | |
---|---|---|
AddAdditionalInfoToPaymentResult |
Adds some additional information to payment result, such as time stamp and payment method name.
(Inherited from CMSPaymentGatewayProvider.) | |
CreatePaymentResultInfo |
Creates payment result object - base PaymentResultInfo object is created by default.
(Inherited from CMSPaymentGatewayProvider.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPaymentDataFormPath |
Returns payment gateway form path with custom controls.
(Overrides CMSPaymentGatewayProvider GetPaymentDataFormPath .) | |
GetPaymentGatewayUrl |
Returns payment gateway url.
(Inherited from CMSPaymentGatewayProvider.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeGatewayControl |
Adds payment gateway custom data to the current shopping cart step - payment gateway form with initialized custom controls is added by default.
(Inherited from CMSPaymentGatewayProvider.) | |
IsUserAuthorizedToFinishPayment(Boolean) |
Checks whether current user is authorized to finish payment, if he is not authorized sets corresponding payment gateway error message.
| |
IsUserAuthorizedToFinishPayment(UserInfo, ShoppingCartInfo, Boolean) |
Checks whether specified user is authorized to finish payment, if he is not authorized sets corresponding payment gateway error message.
(Overrides CMSPaymentGatewayProvider IsUserAuthorizedToFinishPayment(UserInfo, ShoppingCartInfo, Boolean).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ProcessCustomData |
Process payment gateway custom data of the current shopping cart step - payment gateway form data processing is performed by default.
(Inherited from CMSPaymentGatewayProvider.) | |
ProcessPayment |
Process payment.
(Overrides CMSPaymentGatewayProvider ProcessPayment .) | |
ReloadPaymentData |
Reloads payment data - order and main currencies, their exchange rates, customer available credit.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateOrderPaymentResult |
Updates order payment result in database.
(Inherited from CMSPaymentGatewayProvider.) | |
UpdateOrderStatus |
Assigns order status to order. If can not be used due to global objects settings, looks for site status with the same code name.
(Inherited from CMSPaymentGatewayProvider.) | |
ValidateCustomData |
Validates payment gateway custom data of the current shopping cart step - payment gateway form data validation is performed by default.
(Inherited from CMSPaymentGatewayProvider.) |
Extension Methods
Name | Description | |
---|---|---|
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Fields
Name | Description | |
---|---|---|
CREDIT_PAYMENT_FORM_ID |
ID of the credit payment form control.
| |
mAvailableCreditInMainCurrency |
Available credit in main currency.
| |
mAvailableCreditInOrderCurrency |
Available credit in order currency.
| |
mErrorMessage |
Payment result message displayed to user when payment fails.
(Inherited from CMSPaymentGatewayProvider.) | |
mExchangeRate |
Exchange rate.
| |
mInfoMessage |
Payment result message displayed to user when payment succeeds.
(Inherited from CMSPaymentGatewayProvider.) | |
mIsPaymentCompleted |
Indicates whether payment is already completed.
(Inherited from CMSPaymentGatewayProvider.) | |
mMainCurrencyObj |
Main currency data object.
| |
mOrder |
Order object which is going to be paid.
(Inherited from CMSPaymentGatewayProvider.) | |
mOrderCurrencyObj |
Order currency data object.
| |
mOrderId |
Order ID.
(Inherited from CMSPaymentGatewayProvider.) | |
mPaymentDataContainer |
Payment gateway data container of the current shopping cart step control.
(Inherited from CMSPaymentGatewayProvider.) | |
mPaymentDataForm |
Payment gateway form with custom controls.
(Inherited from CMSPaymentGatewayProvider.) | |
mPaymentResult |
Payment result.
(Inherited from CMSPaymentGatewayProvider.) | |
mShoppingCartControl |
Parent shopping cart control the current shopping cart step belongs to.
(Inherited from CMSPaymentGatewayProvider.) | |
mShoppingCartInfoObj |
Shopping cart object which stores all data during the checkout process.
(Inherited from CMSPaymentGatewayProvider.) | |
VALUE_NOT_KNOWN |
This constant says that value of the credit is not known.
|
Properties
Name | Description | |
---|---|---|
AvailableCreditInMainCurrency |
Available credit in main currency.
| |
AvailableCreditInOrderCurrency |
Available credit in order currency.
| |
CreditChangeAfterPayment |
Credit change after payment.
| |
ErrorMessage |
Payment result message displayed to user when payment fails.
(Inherited from CMSPaymentGatewayProvider.) | |
ExchangeRate |
Exchange rate between main and order currencies.
| |
HasCustomerEnoughCredit |
Indicates whether customer has enough credit to finish payment.
| |
InfoMessage |
Payment result message displayed to user when payment succeeds.
(Inherited from CMSPaymentGatewayProvider.) | |
IsPaymentCompleted |
Indicates whether payment is already completed.
(Inherited from CMSPaymentGatewayProvider.) | |
MainCurrencyObj |
Main currency info object.
| |
Order |
Order object which is going to be paid.
(Inherited from CMSPaymentGatewayProvider.) | |
OrderCurrencyObj |
Order currency info object.
| |
OrderId |
Order ID. Set this value when you want to process payment for the existing order outside the checkout process.
(Inherited from CMSPaymentGatewayProvider.) | |
PaymentDataForm |
Payment gateway form with custom controls.
(Inherited from CMSPaymentGatewayProvider.) | |
PaymentResult |
Payment result.
(Inherited from CMSPaymentGatewayProvider.) | |
ShoppingCartControl |
Parent shopping cart control the current shopping cart step belongs to.
(Inherited from CMSPaymentGatewayProvider.) | |
ShoppingCartInfoObj |
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.) |
See Also