CMSCreditPaymentProvider Class |
Namespace: CMS.Ecommerce
public class CMSCreditPaymentProvider : CMSPaymentGatewayProvider, IDirectPaymentGatewayProvider, IPaymentGatewayProvider
The CMSCreditPaymentProvider type exposes the following members.
Name | Description | |
---|---|---|
CMSCreditPaymentProvider |
Name | Description | |
---|---|---|
mAvailableCreditInMainCurrency |
Available credit in main currency.
| |
mAvailableCreditInOrderCurrency |
Available credit in order currency.
| |
mExchangeRate |
Exchange rate.
| |
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.) | |
mPaymentResult |
Payment result.
(Inherited from CMSPaymentGatewayProvider.) | |
mShoppingCartInfoObj |
Shopping cart object which stores all data during the checkout process.
(Inherited from CMSPaymentGatewayProvider.) |
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.) | |
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.) | |
PaymentResult |
Payment result.
(Inherited from CMSPaymentGatewayProvider.) | |
ReloadAction |
Gets or sets the action which is then called during ReloadPaymentData() method call.
| |
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.) | |
CheckOrder |
Check, whether Order and Shopping cart objects are present.
In case Order or ShoppingcartInfo object is not set (Inherited from CMSPaymentGatewayProvider.) | |
CreatePaymentResultInfo |
Creates payment result object - base PaymentResultInfo object is created by default.
(Inherited from CMSPaymentGatewayProvider.) | |
GetPaymentGatewayUrl |
Returns payment gateway url.
(Inherited from CMSPaymentGatewayProvider.) | |
HasCustomerEnoughCredit |
Indicates whether customer has enough credit to finish payment.
| |
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).) | |
ProcessPayment |
Process payment.
| |
ReloadPaymentData |
Reloads payment data - order and main currencies, their exchange rates, customer available credit.
| |
RoundPrice |
Transform given price into string representation according to given formatProvider and formatString.
(Inherited from CMSPaymentGatewayProvider.) | |
UpdateOrderPaymentResult |
Updates order payment result in database.
(Inherited from CMSPaymentGatewayProvider.) | |
UseDelayedPayment |
Returns whether both gateway and provider shall use delayed payment method.
(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.) |