Click or drag to resize
CMSPayPalProviderCallGatewayWithExceptionHandling Method
Provides shared exception handling for any method connecting to gateway.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
protected void CallGatewayWithExceptionHandling(
	Action action
)

Parameters

action
Type: SystemAction
Method trying to connect to gateway and performing any payment related operation.
Remarks
Any exception occurred during communication is logged into event log as ERROR. If any exception occurs, PayPalPaymentResult is marked as failed.
See Also