Hi there,
The gateway provider seems to be going well.
There are however two concerns which I could really use some help with.
The first, is that as per my first message on this thread I still get 'address cannot be empty', only now just when trying to send emails through NB Store. DotNetNuke is able to send them fine though. I do verify each time that an email and address are in fact there. The gateway provider example's call to send an email (shown below) also does not appear to work on my setup - it throws the same error with a bit more detail (shown at the end of this message).
Kind regards,
Michael
Stack Trace:
The gateway provider seems to be going well.
There are however two concerns which I could really use some help with.
The first, is that as per my first message on this thread I still get 'address cannot be empty', only now just when trying to send emails through NB Store. DotNetNuke is able to send them fine though. I do verify each time that an email and address are in fact there. The gateway provider example's call to send an email (shown below) also does not appear to work on my setup - it throws the same error with a bit more detail (shown at the end of this message).
SharedFunctions.SendEmailToClient(objOInfo.PortalID, SharedFunctions.GetClientEmail(objOInfo.PortalID, objOInfo), objOInfo.OrderNumber, objOInfo, "paymentunverified.email", SharedFunctions.GetCurrentCulture());
Also, how are NB Store gateway providers meant to handle for example, when a user closes the purchase page and the redirect does not happen?Kind regards,
Michael
Stack Trace:
The parameter 'address' cannot be an empty string. Parameter name: address ---> System.ArgumentException: The parameter 'address' cannot be an empty string. Parameter name: address at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailTo, String cc, String bcc, String replyTo, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, List`1 attachments, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailTo, String cc, String bcc, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, String attachment, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword, Boolean smtpEnableSSL) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailTo, String cc, String bcc, MailPriority priority, String subject, MailFormat bodyFormat, Encoding bodyEncoding, String body, String attachment, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword) at DotNetNuke.Services.Mail.Mail.SendMail(String mailFrom, String mailTo, String bcc, String subject, String body, String attachment, String bodyType, String smtpServer, String smtpAuthentication, String smtpUsername, String smtpPassword) at NEvoWeb.Modules.NB_Store.SharedFunctions.SendStoreEmail(Int32 Portalid, String ClientEmail, String SubjectText, NB_Store_OrdersInfo objOrderInfo, String EmailTemplateName, String Lang) at NEvoWeb.Modules.NB_Store.Gateway.BaseGateway.ExampleGateway.GetCompletedHtml(Int32 PortalID, Int32 UserID, HttpRequest Request) in C:\Users\michael.colesky\Downloads\ExampleGatewayCSharp\ExampleGateway.cs:line 243 at NEvoWeb.Modules.NB_Store.GatewayWrapper.GetCompletedHtml(Int32 PortalID, Int32 UserID, HttpRequest Request, Int32 OrderID) at NEvoWeb.Modules.NB_Store.CheckOut.CompletedBankPayment() at NEvoWeb.Modules.NB_Store.CheckOut.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---