Password to use in the payment processor
Namespace: DotNetNuke.Entities.PortalsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
[XmlElementAttribute("processorpassword")] public string ProcessorPassword { get; set; } |
| Visual Basic |
|---|
<XmlElementAttribute("processorpassword")> Public Property ProcessorPassword As String Get Set |
Field Value
Payment Processor passwordReturn 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) | |