Hopefully I might be able to get some help here. I am unable to authorize or capture payments. We are using Paypal Website Payments Pro, and everything is set up correctly. We are working off of SP3.
Payments do not authorize for new orders, and when I attempt to manually authorize the payments, I get a server error kicked back to me on receivepayments.aspx. Error is pasted below:
Thanks for any help you experts can provide. On a side note, I opened a support ticket almost 3 days ago... no response. Called the BV tech support number a few times... no response.
*********************************************************************************
Server Error in '/store' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
BVSoftware.PaypalWebServices.PayPalAPI.DoDirectPayment(String paymentAmount, String buyerLastName, String buyerFirstName, String buyerBillingAddress1, String buyerBillingAddress2, String buyerBillingCity, String buyerBillingState, String buyerBillingPostalCode, String creditCardType, String creditCardNumber, String CVV2, Int32 expMonth, Int32 expYear, PaymentActionCodeType paymentAction, String ipAddress, String buyerShippingAddress1, String buyerShippingAddress2, String buyerShippingCity, String buyerShippingState, String buyerShippingPostalCode, String invoiceId) +706
BVSoftware.Bvc5.Payment.PaypalProGateway.Authorize(PaymentData data) +316
BVSoftware.Bvc5.Core.Payment.Method.CreditCard.ChildAuthorize(PaymentData data) +34
BVSoftware.Bvc5.Core.Payment.CollectablePaymentMethod.Authorize(PaymentData data) +15
BVAdmin_Orders_ReceivePayments.GridView1_RowCommand(Object sender, GridViewCommandEventArgs e) +348
System.Web.UI.WebControls.GridView.OnRowCommand(GridViewCommandEventArgs e) +105
System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +76
System.Web.UI.WebControls.GridView.OnBubbleEvent(Object source, EventArgs e) +95
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.GridViewRow.OnBubbleEvent(Object source, EventArgs e) +117
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
System.Web.UI.WebControls.ImageButton.OnCommand(CommandEventArgs e) +115
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +171
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102