Click or drag to resize
CMSPaymentGatewayProvider Methods

The CMSPaymentGatewayProvider type exposes the following members.

Methods
  NameDescription
Public methodAddAdditionalInfoToPaymentResult
Adds some additional information to payment result, such as time stamp and payment method name.
Public methodCreatePaymentResultInfo
Creates payment result object - base PaymentResultInfo object is created by default.
Public methodGetPaymentDataFormPath
Returns CMSPaymentGatewayForm form virtual path with custom controls which are used to display/input customer payment data, such as credit card number etc.- you need to override this method to load your custom controls.
Public methodStatic memberGetPaymentGatewayProvider
Returns payment gateway provider instance.
Public methodGetPaymentGatewayUrl
Returns payment gateway url.
Public methodInitializeGatewayControl
Adds payment gateway custom data to the current shopping cart step - payment gateway form with initialized custom controls is added by default.
Public methodIsUserAuthorizedToFinishPayment
Checks whether specified user is authorized to finish payment.
Public methodProcessCustomData
Process payment gateway custom data of the current shopping cart step - payment gateway form data processing is performed by default.
Public methodProcessPayment
Process payment - you need to override this method to process payment by your custom payment processor.
Public methodUpdateOrderPaymentResult
Updates order payment result in database.
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.
Public methodValidateCustomData
Validates payment gateway custom data of the current shopping cart step - payment gateway form data validation is performed by default.
Top
See Also