CMSCreditPaymentProvider Class |
Namespace: CMS.Ecommerce.Web.UI
public class CMSCreditPaymentProvider : CMSPaymentGatewayProvider
The CMSCreditPaymentProvider type exposes the following members.
Name | Description | |
---|---|---|
CMSCreditPaymentProvider |
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.
|
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.) |
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.) | |
GetPaymentDataFormPath |
Returns payment gateway form path with custom controls.
(Overrides CMSPaymentGatewayProviderGetPaymentDataFormPath.) | |
GetPaymentGatewayUrl |
Returns payment gateway url.
(Inherited from CMSPaymentGatewayProvider.) | |
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 CMSPaymentGatewayProviderIsUserAuthorizedToFinishPayment(UserInfo, ShoppingCartInfo, Boolean).) | |
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 CMSPaymentGatewayProviderProcessPayment.) | |
ReloadPaymentData |
Reloads payment data - order and main currencies, their exchange rates, customer available credit.
| |
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.) |