Click or drag to resize
CMSPaymentGatewayProviderIsUserAuthorizedToFinishPayment Method
Checks whether specified user is authorized to finish payment.

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

Parameters

user
Type: CMS.MembershipUserInfo
User attempting to finish payment.
cart
Type: CMS.EcommerceShoppingCartInfo
Cart to be paid for.
internalOrder (Optional)
Type: SystemBoolean
Indicates if payment is done from administration by store admin in the name of customer.

Return Value

Type: Boolean
See Also