Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in

Le Forum de la communauté n’est pas disponible pour les nouveaux messages ou les réponses; les articles précédents restent disponibles pour vérification. Afin de connaître les options d’assistance complètes, rendez-vous sur PayPal.com/HelpCenter

Si vous souhaitez signaler du contenu illégal et contraire au Règlement sur les services numériques de l’Union Européenne (DSA), veuillez cliquer ici.

since ‎Dec-23-2009
dovberman
dovberman Contributor
Contributor
6
Posts
0
Kudos
0
Solutions
Your 3rd PayPal Anniversary
Your PayPal Anniversary
Your 10th PayPal Anniversary
Your 5th PayPal Anniversary
The Return
Organized
Ice Breaker
Active
View all
Latest Contributions by dovberman
  • Topics dovberman has Participated In
  • Latest Contributions by dovberman

Re: The IPN Response is always 'INVALID'

by dovberman Contributor in How to use PayPal (Archive)
‎Dec-27-2009 05:59 AM
‎Dec-27-2009 05:59 AM
Here is some additional information:   The URL returned to the listerner is    //www.stockpickermax.com/paymentReceipt.aspx?   merchantRet.x=Return+To+Merchant   &auth=_v-gTusGRYugOh938zDJ-RiMYoXY0CNUWmNP5ZJDg-uX9tKzx0IiZKcLuFIcjdWHAUmM2ACapyyeif1j   &form_charset=UTF-8 What is this ? Other research indicates: For PayPal to return VERIFIED, your IPN script needs to post back ALL the variables that were posted to it in the first place. In other words, if your script only needs to manipulate 1 or 2 variables, it is not enough to post back to PayPal only the variables/values your script is concerned with. Your script should post back EVERYTHING that was initially posted to it from PayPal. This is the only way PayPal will return VERIFIED What does this mean? ... View more

The IPN Response is always 'INVALID'

by dovberman Contributor in How to use PayPal (Archive)
‎Dec-26-2009 06:57 AM
‎Dec-26-2009 06:57 AM
I have a PaymentReceipt.aspx page that is the IPN Listener. The page_open code is a copy of the PayPal recommended code. "INVALID" is always returned. There are no reported errors. The listener page opens as expected.  However the test site account history log show that all the test transactions were completed succesfully.     I have been troubleshooting this for 3 days.   Here is the Page_Load code in the listener:    //Post back to either sandbox or live           string strSandbox = "https://www.sandbox.paypal.com/cgi-bin/webscr";                   //string strLive = "https://www.paypal.com/cgi-bin/webscr";                   HttpWebRequest req = (HttpWebRequest)WebRequest.Create(strSandbox);          //Set values for the request back                   req.Method = "POST";                   req.ContentType = "application/x-www-form-urlencoded";                   byte[] param = Request.BinaryRead(HttpContext.Current.Request.ContentLength);                   string strRequest = Encoding.ASCII.GetString(param);                   strRequest += "&cmd=_notify-validate";                   req.ContentLength = strRequest.Length;                   //for proxy                   //WebProxy proxy = new WebProxy(new Uri("http://urlort#");                   //req.Proxy = proxy;                   //Send the request to PayPal and get the response                   StreamWriter streamOut = new StreamWriter(req.GetRequestStream(), System.Text.Encoding.ASCII);                   streamOut.Write(strRequest);                   streamOut.Close();                   StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());                   string strResponse = streamIn.ReadToEnd();                   streamIn.Close();         lblStatus.Text = strResponse;  // Always INVALID    ----- Test account log:   Recurring Payments details Profile information Profile ID I-2H164SPH6JJN Product/service StockPickerMax Subscription Start date Dec 26, 2009 End date Feb 26, 2010 Profile Status Active | Merchant information Merchant name David Martin's Test Store Customer service URL Billing terms Next payment date Jan 26, 2010Payment activity Payment type Initial Payment Amount due $0.00 USD Amount received $0.00 USD Payment type Trial Period    Calling page form:   form name="PrePage" runat =server action="https://www.sandbox.paypal.com/cgi-bin/webscr" method ="post" input type="hidden" name="cmd" value ="_s-xclick" input type="hidden" name="hosted_button_id" value ="1089338" input type="hidden" name="on0" value="One month non recurring" One month non recurring input type="hidden" name="on1" value="Credit Card info not stored"Credit Card info not storedinput type="text" name="os1" maxlength="60" input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt ="PayPal - The safer, easier way to pay online!" img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height ="1" br asp:TextBox ID="txtIPNReturn" Text = "abc" runat="server" Width="100px" asp:TextBox form                         form name="PrePage" runat =server action="https://www.sandbox.paypal.com/cgi-bin/webscr" method ="post"   input type="hidden" name="cmd" value ="_s-xclick">   input type="hidden" name="hosted_button_id" value ="1089338"     table   input type="hidden" name="on0" value="One month non recurring" One month non recurring>   input type="hidden" name="on1" value="Credit Card info not stored"Credit Card info not storedinput type="text" name="os1" maxlength="60"     input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt ="PayPal - The safer, easier way to pay online!"   img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height ="1"   br   asp:TextBox ID="txtIPNReturn" Text = "abc" runat="server" Width="100px" asp:TextBox   form               ... View more

How to Create a Button in the Sandbox Environment

by dovberman Contributor in How to use PayPal (Archive)
‎Dec-24-2009 09:03 AM
‎Dec-24-2009 09:03 AM
Research in this forum indicates that I need to create the button in the sandbox. I found no option in the sandbox for creating a button. I can create accounts, but not a button.   Details: "PayPal cannot process this transaction because of a problem with the seller's website. Please contact the seller directly to resolve this problem."       <form id="form1" runat="server" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">         <input type="hidden" name="cmd" value="_s-xclick">         <input type="hidden" name="hosted_button_id" value="10674073">                <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">         <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">         <br />         <asp:TextBox ID="txtIPNReturn"  Text = "abc" runat="server" Width="100px"></asp:TextBox>     </form>   Thanks, ... View more

Re: Using the Sandbox Personal account as a fictit...

by dovberman Contributor in How to use PayPal (Archive)
‎Dec-24-2009 03:29 AM
‎Dec-24-2009 03:29 AM
You have been a great help.   Thanks,   David Martin ... View more

Re: Using the Sandbox Personal account as a fictit...

by dovberman Contributor in How to use PayPal (Archive)
‎Dec-23-2009 03:06 PM
‎Dec-23-2009 03:06 PM
skier,   Thanks for the prompt reply.   I had overwritten the EMail address that the Sandbox had created for the sandbox customer.   <input type="hidden" name="no_shipping" value="1">   Is the following code correct for hiding the telephone entry?   <input type="hidden" name="no_phone" value="1">   Thanks,   Dovberman ... View more

Using the Sandbox Personal account as a fictitious...

by dovberman Contributor in How to use PayPal (Archive)
‎Dec-23-2009 12:02 PM
‎Dec-23-2009 12:02 PM
I set up the IPN to get transaction feedback when a payment is made.   When the Subscribe button is clicked, the credit card payment option is selected.   The credit card payment page asks for address and contact information as required entries.   How to I hide non required entries? I do not need the customer address.   The sandbox customer has the same EMail address as the vendor(developer). This causes the transaction to be rejected.  Can I use a fictitious EMail address for the sandbox customer?   Thanks, ... View more
Paypal Logo
  • Help
  • Contact Us
  • Security
  • Fees
  • © 1999-2025 PayPal, Inc. All rights reserved.
  • Privacy
  • Legal
  • Cookies
  • Policy Updates

The money in your balance is eligible for pass-through FDIC insurance.

The PayPal Cash Mastercard is issued by The Bancorp Bank pursuant to a license by Mastercard International Incorporated. The Bancorp Bank; Member FDIC.

Powered by Khoros