Note that there are some explanatory texts on larger screens.

plurals
  1. POPaypal IPNs not sending/being received on sandbox
    primarykey
    data
    text
    <p>I'm trying to use Paypal IPNs on the sandbox. I have a form that submits an express checkout:</p> <pre><code>&lt;form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"&gt; &lt;input type="hidden" name="cmd" value="_xclick" /&gt; &lt;input type="hidden" name="business" value="my-sandbox-merchant-account@test.com" /&gt; &lt;input type="hidden" name="item_name" value="Item 3" /&gt; &lt;input type="hidden" name="item_number" value="3" /&gt; &lt;input type="hidden" name="amount" value="5.00" /&gt; &lt;input type="hidden" name="shipping" value="0.00" /&gt; &lt;input type="hidden" name="no_shipping" value="1" /&gt; &lt;input type="hidden" name="cn" value="Comments" /&gt; &lt;input type="hidden" name="currency_code" value="GBP" /&gt; &lt;input type="hidden" name="lc" value="GB" /&gt; &lt;input type="hidden" name="bn" value="PP-BuyNowBF" /&gt; &lt;input type="hidden" name="test_ipn" value="1" /&gt; &lt;input type="hidden" name="return" value="http://myhost/my-return-url" /&gt; &lt;input type="hidden" name="rm" value="2" /&gt; &lt;input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynow_SM.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" /&gt; &lt;img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" /&gt; &lt;/form&gt; </code></pre> <p>The payment goes through fine with my sandbox buyer account, however the IPN notifications are failing. When I click on the IPN messages in the sandbox I see that the correct notification endpoint is configured, however the message has failed, the http response code is blank, and IPN typeTransaction = "made". My logs show that my IPN endpoint hasn't received any messages (I know the endpoint is up because i've tried sending a manual POST). The message paypal is trying to send is:</p> <pre><code>handling_amount=0.00&amp;payer_id=442H4KP3WRC9E&amp;ipn_track_id=989ff3ead6a80&amp;shipping=0.00 &amp;charset=windows-1252&amp;payment_gross= &amp;verify_sign=ABKgD9bUbQF9WahZwd8aOs6tdcUGAteKcEga-DtOd5oNAkSSSLAh33xt &amp;item_name=Item 3&amp;test_ipn=1&amp;txn_type=web_accept &amp;receiver_id=4W89DC8YDWBUG&amp;payment_fee=&amp;mc_currency=GBP&amp;transaction_subject= &amp;custom=&amp;protection_eligibility=Ineligible&amp;payer_status=verified &amp;first_name=atest&amp;mc_gross=5.00&amp;payment_date=14:46:44 Aug 05, 2013 PDT &amp;payment_status=Completed&amp;quantity=1&amp;my-sandbox-merchant-account@test.com &amp;item_number=3&amp;last_name=buyer&amp;txn_id=91L22343JY671341E&amp;mc_fee=0.40 &amp;resend=true&amp;payment_type=instant&amp;notify_version=3.7&amp;payer_email=a-test@buyer.com &amp;receiver_email=my-sandbox-merchant-account@test.com&amp;tax=0.00&amp;residence_country=US </code></pre> <p>I've tried resending the IPN multiple times, and have also tried the IPN simulator too but this just spins until the connection resets. Is this a problem with Paypal's sandbox IPN system, or have I forgotten something/am sending the wrong data on my form submit?</p> <p>If it's a problem with the sandbox IPN messaging system, what other options do I have for testing aside from on live?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload