John001
skipping stones Posts:8
|
08-31-2010 03:20 AM |
|
Hi,
I am using Registration module 4.0 to develop my portal(dnn version 5.2). I am trying to integrate Authorize.net payment gateway but getting following error:
Method: DataSprings.Modules.DynamicRegistration.DynamicRegistration.ProcessAuthorizenet
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DataSprings.Modules.DynamicRegistration.DynamicRegistration.ProcessAuthorizenet(String url, String strPost) at DataSprings.Modules.DynamicRegistration.DynamicRegistration.DynamicPaymentGateway() at DataSprings.Modules.DynamicRegistration.DynamicRegistration.ExecuteRegistration(Boolean ProcessPaymentNotification, String strResponseID) at DataSprings.Modules.DynamicRegistration.DynamicRegistration.imgRegister_Click(Object sender, ImageClickEventArgs 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 ---
It seems an "Object reference error".
I have done following setup through "Module Configuration":
Enable payment gateway - Yes
Payment Gateway - Authorizenet
Test Mode - Yes
Execute gateway - Only initial registration ( Also checked with both)
Under Authorizenet gateway:
Provided API login, Transaction key of test account created. Selected "Developer test Gateway" from Gateway URL.
Additional parameter - &x_first_name=$(FName)&x_last_name=$(LName)&x_email=$(Email)&x_method='CC'&x_amount=20.00&x_card_num=$(CardNum)&x_exp_date=$(ExpDate)
Please let me know if I need to do any other settings?? Like do I need to set "Redirect page" to "https://test.authorize.net/gateway/transact.dll
" or any SSL related configuration required.
Please help me out. Thanks in advance.
John
|
|
|
|
|
John001
skipping stones Posts:8
|
08-31-2010 03:28 AM |
|
Hi,
The error mentioned above has been copied from Event Viewer section. The portal is showing "A critical error has occurred. Object reference not set to an instance of an object." .
I have not found any post on this forum suggesting any other settings in case of Authorize.net. I have mentioned settings done by me above as well. I think some more settings ( Page redirect, SSL etc) would be required. Please post complete steps required to configure Authorizenet pateway.
Thanks.
John |
|
|
|
|
Candace
river guide Posts:2431
|
08-31-2010 12:51 PM |
|
Hi John,
The most common cause for this error has to do with mapping your user credentials correctly. Do you have the necessary fields like username, password and confirm password along with first name, last name and email? If you do, please go to Dynamic Registration's Control Panel and go to DNN Core Integration. Please make sure that the fields I mentioned are mapped to the correct core properties.
Please let me know if this clears the issue for you. Thanks!
Candace
|
|
|
|
|
John001
skipping stones Posts:8
|
08-31-2010 07:37 PM |
|
Hi Candace,
Thanks for your response. I have checked for DNN core integration and that is absolutely fine.
Please see following line in the error: -
System.NullReferenceException: Object reference not set to an instance of an object. at DataSprings.Modules.DynamicRegistration.DynamicRegistration.ProcessAuthorizenet(String url, String strPost)
Does it refer to something related with Authorize.net settings?
Do I need to set anything else? Do we need to set "Page redirect" in module configuration area?
Please suggest.
John |
|
|
|
|
John001
skipping stones Posts:8
|
08-31-2010 08:09 PM |
|
Hi Candace,
One more thing I would like like to share that I am using "EmailID" as "Username" in my portal. So I have mapped "Username" DNN core field with my "EmailID" field.
Does it may create any issue?
Thanks.
John
|
|
|
|
|
John001
skipping stones Posts:8
|
08-31-2010 11:34 PM |
|
Hi,
Anybody please help me out. I have been stuck badly while authorize.net gateway integration and disappointed now. Please provide details of ALL STEPS/ SETTINGS required for authorize.net integration with Dynamic registration module.
Thanks.
John |
|
|
|
|
Candace
river guide Posts:2431
|
09-01-2010 06:51 AM |
|
John,
I may have to look at your settings to find where the problem is. Please use the Contact Us Support form and send me the following:
1. the Dynamic Reg page URL
2. a host login
3. your invoice ID
4. the exact module version from Host > Module Definitions
5. your DNN version
6. the URL to this thread for reference.
Thanks!
Candace
|
|
|
|
|
John001
skipping stones Posts:8
|
09-15-2010 09:33 PM |
|
Hi Candace,
Thanks. I was busy so could not reply on your post. I will let you know the details soon.
Thanks!
John |
|
|
|
|
Marcio Esteves
skipping stones Posts:5
|
12-03-2010 10:17 AM |
|
Candace, I have the exactly same problem, but with Dynamic Forms -> Authorize.Net integration. I double checked my field and they look OK. I even tried hardcoding some of the values but still get the object reference not set to an instance of the object error. Could you please help me |
|
|
|
|
Ryan Bakerink
river guide Posts:1900
|
01-20-2011 03:18 PM |
|
Hello Marcio,
I'm sorry for the delayed response, can you please let us know if you still need assistance with this issue?
Sometimes forum threads get isolated and lost.
If you have any questions please let us know.
Thanks,
Ryan
|
|
|
|
|
Daniel
going with the flow Posts:40
|
01-08-2012 07:17 AM |
|
I have this error as well - anybody ever get past it? |
|
|
|
|
Candace
river guide Posts:2431
|
01-11-2012 01:34 PM |
|
Hi Daniel, Can you please enable debug and give us the resulting string? You can use the Contact Us form, if you prefer, so you can give us additional information such as your invoice ID, your exact module version and your DNN version. Thanks! Candace |
|
|
|
|