HomeHome Product Discus... Product Discus...SmithCartSmithCartPayPal ErrorsPayPal Errors
Previous
 
Next
New Post
12/21/2009 1:00 PM
 

Hi Dave,

I just purchased your store, installed it without a hitch. I have had the same issue on both our development and production environment. My first thoughts were that because our dev environment was behind the firewall, it could not communicate with Paypal. Anyway..

I tried both PayPal Website Payment Standard and Pro, the message below is from Pro.

I am running DNN 5.1.4, with the latest version 02.44.14 of Smith Cart. I am also on SQL 2000, but I don't think that makes a difference with these errors.

I first had the Log4net issue, and noticed that the dll was not placed in the Bin folder, and it's not referenced inside of the BuyNow.dnn. The Log4net error message no longer appears. I also added Full Trust within our web.config as noted in one of your posts.


Now it appears that when I choose PayPal Website payment Standard and use it in test mode, I see Step 1, with adding my Shipping address. Step 2 is confirming my information without me adding in my shipping address or credit card, I assume I am meant to then be taken to PayPal. When I click next an error is generated. When I click process payment I receive

A critical error has occurred.
Object reference not set to an instance of an object.

and inside of the Event Viewer I see

UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: f906f4a3-647f-49b9-bee0-e6846b877b13
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Confirm.ProcessStatus
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 Smith.DNN.Modules.BuyNow.Confirm.ProcessStatus(PaymentStatusInfo status) at Smith.DNN.Modules.BuyNow.Confirm.Submit() at Smith.DNN.Modules.BuyNow.Confirm.btnSubmit_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.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 ---


If I switch to Paypal website payment pro, I am able to enter in my credit card information in step 2, (shipping info in step one, buyer info in step 2) and submit payment, when I receive the following errors


UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: db281a5b-6935-46e9-ae7e-7246f05f5cf3
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Confirm.ProcessStatus
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 Smith.DNN.Modules.BuyNow.Confirm.ProcessStatus(PaymentStatusInfo status) at Smith.DNN.Modules.BuyNow.Confirm.Submit() at Smith.DNN.Modules.BuyNow.Confirm.btnSubmit_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.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 ---
Source:
Server Name: xxxxxxx


If I take off test mode and use Paypal website payment pro I receive the following error when I click process payment

UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 4b201eca-d030-4252-b14a-851e4bbc7557
InnerException: Unable to connect to the remote server
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: com.paypal.sdk.core.nvp.NVPAPICaller.Call
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Unable to connect to the remote server ---> com.paypal.sdk.exceptions.FatalException: Unable to connect to the remote server at com.paypal.sdk.core.nvp.NVPAPICaller.Call(String NvpRequest) at com.paypal.sdk.services.NVPCallerServices.Call(String requestnvp) at Smith.DNN.Modules.BuyNow.Confirm.MakePayPalPayment(BillingAccountInfo account) at Smith.DNN.Modules.BuyNow.Confirm.Submit() --- End of inner exception stack trace ---
Source:

Any thoughts?

 
New Post
12/21/2009 3:23 PM
 

Lets start with paypal standard and see if we can get you up and running with that first. I just installed a fresh version of dnn 5.1 on my dev pc and configured paypal standard as my gateway and obtained the following approval with myh sandbox account:

 

Payment Status : TRUE
Auth Code : Approved
Transaction #: 3
Message : Paypal Payment processed succesfully 11/21/09 03:12

Please review the setup instructions for paypal standard in the users guide starting on page 11:


http://www.smith-consulting.com/Porta...

Also, please take a look at the following forum post regarding configuring your return url:

http://www.smith-consulting.com/forum...


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartPayPal ErrorsPayPal Errors