CMSPaymentGatewayProviderIsUserAuthorizedToFinishPayment Method |
Checks whether specified user is authorized to finish payment.
Namespace: CMS.Ecommerce.Web.UIAssembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 10.0.0
Syntax 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:
BooleanSee Also