Note that there are some explanatory texts on larger screens.

plurals
  1. POPayPal PDT is not Returning a tx value in the Query String
    text
    copied!<p>I've gone through the (not so helpful) PayPal docs and can't find an easy answer to this problem. When the user returns from PayPal, the URL does not contain a query string and thus I do not receive the 'tx' value (or any other value for that matter).</p> <p>This is an example of what I'm sending to PayPal:</p> <pre><code>&lt;form accept-charset="utf-8" action="https://www.sandbox.paypal.com/au/cgi-bin/webscr" id="paypal-form" method="post"&gt; &lt;input type="hidden" name="business" value="dallas_bus@dallasjclark.com"&gt; &lt;input type="hidden" name="cancel_return" value="http://localhost/checkout"&gt; &lt;input type="hidden" name="cmd" value="_xclick"&gt; &lt;input type="hidden" name="charset" value="utf-8"&gt; &lt;input type="hidden" name="currency_code" value="AUD"&gt; &lt;input type="hidden" name="custom" value="155"&gt; &lt;input type="hidden" name="lc" value="AU"&gt; &lt;input type="hidden" name="notify_url" value="http://localhost/paypal-ipn"&gt; &lt;input type="hidden" name="return" value="http://localhost/checkout"&gt; &lt;input type="hidden" name="item_name" value="ABC Company - Order #155"&gt; &lt;input type="hidden" name="item_number" value="155"&gt; &lt;input type="hidden" name="amount" value="8.95"&gt; &lt;input type="hidden" name="discount_amount" value="0.00"&gt; &lt;input type="hidden" name="shipping" value="25.00"&gt; &lt;input type="image" src="https://www.paypal.com/en_AU/i/btn/btn_buynowCC_LG.gif" name="submit" alt="Buy Now"&gt; &lt;/form&gt; </code></pre> <p>Thanks in advance !</p>
 

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