Click or drag to resize
CMSPayPalProvider Methods

The CMSPayPalProvider type exposes the following members.

Methods
  NameDescription
Public methodAddAdditionalInfoToPaymentResult
Adds some additional information to payment result, such as time stamp and payment method name.
(Inherited from CMSPaymentGatewayProvider.)
Public methodComparePaymentDataToOrderData
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.
Public methodConfirmPayment
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.
Public methodCreatePaymentResultInfo
Creates PayPal payment result object.
(Overrides CMSPaymentGatewayProviderCreatePaymentResultInfo.)
Public methodGetOrderDescription
Builds an order description from the order data which is attached to the payment request.
Public methodGetPaymentDataFormPath
Adds payment gateway custom data to the specified shopping cart step.
(Overrides CMSPaymentGatewayProviderGetPaymentDataFormPath.)
Public methodGetPaymentGatewayUrl
Returns payment gateway url.
(Inherited from CMSPaymentGatewayProvider.)
Public methodInitializeGatewayControl
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.)
Public methodInitializePaymentRequest
Fills input name-value collection with payment request parameters' names and their values. Values are not URL-encoded.
Public methodIsUserAuthorizedToFinishPayment
Checks whether specified user is authorized to finish payment.
(Inherited from CMSPaymentGatewayProvider.)
Public methodProcessCustomData
Process payment gateway custom data of the current shopping cart step - payment gateway form data processing is performed by default.
(Inherited from CMSPaymentGatewayProvider.)
Public methodProcessPayment
Process payment - initialize payment request and redirect to the PayPal payment gateway to finish payment.
(Overrides CMSPaymentGatewayProviderProcessPayment.)
Public methodUpdateOrderPaymentResult
Updates order payment result in database.
(Inherited from CMSPaymentGatewayProvider.)
Protected methodUpdateOrderStatus
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.)
Public methodValidateCustomData
Validates payment gateway custom data of the current shopping cart step - payment gateway form data validation is performed by default.
(Inherited from CMSPaymentGatewayProvider.)
Top
See Also