Click or drag to resize
CMSCreditPaymentProviderIsUserAuthorizedToFinishPayment Method (UserInfo, ShoppingCartInfo, Boolean)
Checks whether specified user is authorized to finish payment, if he is not authorized sets corresponding payment gateway error message.

Namespace: CMS.EcommerceProvider
Assembly: CMS.EcommerceProvider (in CMS.EcommerceProvider.dll) Version: 8.2.23
Syntax
C#
public override bool IsUserAuthorizedToFinishPayment(
	UserInfo user,
	ShoppingCartInfo cart,
	bool internalOrder = false
)

Parameters

user
Type: CMS.MembershipUserInfo
cart
Type: CMS.EcommerceShoppingCartInfo
internalOrder (Optional)
Type: SystemBoolean

Return Value

Type: Boolean
See Also