Payment Processor userId
Namespace: DotNetNuke.Entities.PortalsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
[XmlElementAttribute("processoruserid")] public string ProcessorUserId { get; set; } |
Visual Basic |
---|
<XmlElementAttribute("processoruserid")> Public Property ProcessorUserId As String Get Set |
Field Value
Return Value
Remarks
Examples
This shows the usage of the payment processing
![]() | |
---|---|
If objPortal.PaymentProcessor <> "" Then If Not cboProcessor.Items.FindByText(objPortal.PaymentProcessor) Is Nothing Then cboProcessor.Items.FindByText(objPortal.PaymentProcessor).Selected = True Else ' default If Not cboProcessor.Items.FindByText("PayPal") Is Nothing Then cboProcessor.Items.FindByText("PayPal").Selected = True End If End If Else cboProcessor.Items.FindByValue("").Selected = True End If txtUserId.Text = objPortal.ProcessorUserId txtPassword.Attributes.Add("value", objPortal.ProcessorPassword) |