Note that there are some explanatory texts on larger screens.

plurals
  1. POsubmitting multiple items to paypal cart at once with php
    primarykey
    data
    text
    <p>I have some items for sale that have 2 and 3 levels of customization. Once set the user adds them to my onsite cart. Problem is, how can i send each item to paypal on checkout? The only code ive found for dynamic buttons supports only a single item.</p> <pre><code>&lt;form method="post" action="https://www.paypal.com/cgi-bin/webscr" target="paypal"&gt; &lt;input type="hidden" name="cmd" value="_cart"&gt; &lt;input type="hidden" name="add" value="1"&gt; &lt;input type="hidden" name="business" value="EMAIL"&gt; &lt;input type="hidden" name="item_name" value="Item #1"&gt; &lt;input type="hidden" name="item_number" value="123456"&gt; &lt;input type="hidden" name="amount" value="7.00"&gt; &lt;input type="hidden" name="shipping" value="0"&gt; &lt;input type="hidden" name="shipping2" value="0"&gt; &lt;input type="hidden" name="handling" value="0"&gt; &lt;input type="hidden" name="currency_code" value="USD"&gt; &lt;input type="hidden" name="return" value="http://www.yoursite.com/thankyou.htm"&gt; &lt;input type="hidden" name="undefined_quantity" value="1"&gt; &lt;input type="image" src="http://images.paypal.com/en_US/i/btn/x-click-but22.gif" border="0" name="submit" width="87" height="23" alt="Make payments with PayPal - it's fast, free and secure!"&gt; &lt;/form&gt; </code></pre> <p>I tried adding</p> <pre><code>&lt;input type="hidden" name="item_name_2" value="Item #1"&gt; &lt;input type="hidden" name="item_number_2" value="123456"&gt; &lt;input type="hidden" name="amount_2" value="7.00"&gt; </code></pre> <p>But no positive result.</p> <p>Any ideas?</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