CMSPaymentGatewayProvider Class |
Namespace: CMS.Ecommerce
public abstract class CMSPaymentGatewayProvider : IPaymentGatewayProvider
The CMSPaymentGatewayProvider type exposes the following members.
Name | Description | |
---|---|---|
CMSPaymentGatewayProvider |
Name | Description | |
---|---|---|
mIsPaymentCompleted |
Indicates whether payment is already completed.
| |
mOrder |
Order object which is going to be paid.
| |
mOrderId |
Order ID.
| |
mPaymentResult |
Payment result.
| |
mShoppingCartInfoObj |
Shopping cart object which stores all data during the checkout process.
|
Name | Description | |
---|---|---|
ErrorMessage |
Payment result message displayed to user when payment fails.
| |
InfoMessage |
Payment result message displayed to user when payment succeeds.
| |
IsPaymentCompleted |
Indicates whether payment is already completed.
| |
Order |
Order object which is going to be paid.
| |
OrderId |
Order ID. Set this value when you want to process payment for the existing order outside the checkout process.
| |
PaymentResult |
Payment result.
| |
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.
|
Name | Description | |
---|---|---|
AddAdditionalInfoToPaymentResult |
Adds some additional information to payment result, such as time stamp and payment method name.
| |
CheckOrder |
Check, whether Order and Shopping cart objects are present.
In case Order or ShoppingcartInfo object is not set | |
CreatePaymentResultInfo |
Creates payment result object - base PaymentResultInfo object is created by default.
| |
GetPaymentGatewayProviderTProvider |
Returns payment gateway provider instance of given generic type.
| |
GetPaymentGatewayUrl |
Returns payment gateway url.
| |
IsUserAuthorizedToFinishPayment |
Checks whether specified user is authorized to finish payment.
| |
LogEvent |
Logs error with given message, eventCode and eventSource to event log.
| |
RoundPrice |
Transform given price into string representation according to given formatProvider and formatString.
| |
UpdateOrderPaymentResult |
Updates order payment result in database.
| |
UseDelayedPayment |
Returns whether both gateway and provider shall use delayed payment method.
| |
ValidateCustomData |
Validates payment gateway custom data of the current shopping cart step - payment gateway form data validation is performed by default.
|