I'm a first timer of the Registration module. I tried to set it up the way as shown below. I used eWay as this is a business requirement.
User Roles Setup |
Role(s) to add after
successful payment: |
|
|
Role to remove on
successful payment: |
|
|
Step 1 Custom Field Setup |
|
Then I tried to sign up as a new user. I just made up an arbitrary credit card number, some future expiry date and security code as it didn't matter as it turned out (although I used the eWay's testing CC number at the beginning). After I clicked the "Process Payment" button it returned the following message:
We couldn't complete your payment.
Status : Declined
Auth Code :
Message : The 'RebillEndDate' element has an invalid value according to its data type.
As I clicked the "BACK" button, it would always give this error:
A critical error has occurred.
Input string was not in a correct format.
And here's the event log:
DotNetNuke.Services.Exceptions.PageLoadException: Input string was not in a correct format. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Convert.ToDecimal(String value) at Smith.DNN.Modules.Registration.Confirm.btnCancel_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Note that I tried with Test Mode checked and unchecked. Please advise. Thanks in advance.