Hey guys, I am develope for first time with nopCOmmerce and I have my first problem, I'm deploying a external payment method, but in the payment info step I get a alert() and doesn't do nothing.
I have properly setup the Template/Payment/PaymentModule.ascx and PaymentMethod in the administrator, but never can hit the PostProcessPayment in my PaymentProcessor.cs.
Here is PaymentModule.ascx
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PaymentModule.ascx.cs" Inherits="NopSolutions.NopCommerce.Web.Templates.Payment.Test.PaymentModule" %>
<table width="100%" cellspacing="2" cellpadding="1" border="0">
<tr>
<td>
<b><%=GetLocaleResourceString("Test.message")%></b></td>
</tr>
</table>
PaymentModule.ascx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using NopSolutions.NopCommerce.BusinessLogic.Payment;
namespace NopSolutions.NopCommerce.Web.Templates.Payment.Test
{
public partial class PaymentModule : BaseNopUserControl, IPaymentMethodModule
{
#region Methods
public bool ValidateForm()
{
return true;
}
public PaymentInfo GetPaymentInfo()
{
PaymentInfo paymentInfo = new PaymentInfo();
return paymentInfo;
}
#endregion
}
}
Any help would be good.
Ty!!