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.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax public override 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