CMSPayPalProvider Class |
Namespace: CMS.Ecommerce.Web.UI
public class CMSPayPalProvider : CMSPaymentGatewayProvider
The CMSPayPalProvider type exposes the following members.
Name | Description | |
---|---|---|
CMSPayPalProvider |
Name | Description | |
---|---|---|
mErrorMessage |
Payment result message displayed to user when payment fails.
(Inherited from CMSPaymentGatewayProvider.) | |
mInfoMessage |
Payment result message displayed to user when payment succeeds.
(Inherited from CMSPaymentGatewayProvider.) | |
mIsPaymentCompleted |
Indicates whether payment is already completed.
(Inherited from CMSPaymentGatewayProvider.) | |
mOrder |
Order object which is going to be paid.
(Inherited from CMSPaymentGatewayProvider.) | |
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.) |
Name | Description | |
---|---|---|
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.) | |
Order |
Order object which is going to be paid.
(Inherited from CMSPaymentGatewayProvider.) | |
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.) | |
ComparePaymentDataToOrderData |
Compares payment data (seller email, total price, payment currency) to order data and returns appropriate error message if data don't match, otherwise returns empty string.
| |
ConfirmPayment |
Confirms payment - post the data that was posted to the merchant back to PayPal and returns PayPal response as result of payment confirmation.
Returns "VERIFIED" - payment data match, "INVALID" - payment data don't match.
| |
CreatePaymentResultInfo |
Creates PayPal payment result object.
(Overrides CMSPaymentGatewayProviderCreatePaymentResultInfo.) | |
GetOrderDescription |
Builds an order description from the order data which is attached to the payment request.
| |
GetPaymentDataFormPath |
Adds payment gateway custom data to the specified shopping cart step.
(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.) | |
InitializePaymentRequest |
Fills input name-value collection with payment request parameters' names and their values. Values are not URL-encoded.
| |
IsUserAuthorizedToFinishPayment |
Checks whether specified user is authorized to finish payment.
(Inherited from CMSPaymentGatewayProvider.) | |
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 - initialize payment request and redirect to the PayPal payment gateway to finish payment.
(Overrides CMSPaymentGatewayProviderProcessPayment.) | |
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.) |