PDA

View Full Version : Adding Pay Pal


rich4254
01-06-2006, 04:07 AM
I am attempting to add the pay pal button and function to our site. It is not
working properly.
>
> I am adding it to the following page on our site:

>
> The following is the message I get when I click the Buy Now button:
> [ArgumentException: Invalid postback or callback argument. Event validation is
enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page
EnableEventValidation="true" %> in a page. For security purposes, this feature
verifies that arguments to postback or callback events originate from the server
control that originally rendered them. If the data is valid and expected, use the
ClientScriptManager.RegisterForEventValidation method in order to register the
postback or callback data for validation.]
> System.Web.UI.ClientScriptManager.ValidateEvent(St ring uniqueId, String
argument) +2080153
> System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) +106
> System.Web.UI.WebControls.TextBox.LoadPostData(Str ing postDataKey,
NameValueCollection postCollection) +31
> System.Web.UI.WebControls.TextBox.System.Web.UI.IP ostBackDataHandler.LoadPostData(String
postDataKey, NameValueCollection postCollection) +11
> System.Web.UI.Page.ProcessPostData(NameValueCollec tion postData, Boolean
fBeforeLoad) +408
> System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,
Boolean includeStagesAfterAsyncPoint) +3776
>
> Please advise.

bruce
01-06-2006, 08:02 AM
did you do what the error suggest?

Set <pages enableEventValidation='false'/>

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

rich4254
01-07-2006, 08:45 AM
Yes, it is set to true to enableevent, very frustrating.
Thank you.

Have a great day,
www.completeathlete.net (http://www.completeathlete.net)