<i id='1an9b'><tr id='1an9b'><dt id='1an9b'><q id='1an9b'><span id='1an9b'><b id='1an9b'><form id='1an9b'><ins id='1an9b'></ins><ul id='1an9b'></ul><sub id='1an9b'></sub></form><legend id='1an9b'></legend><bdo id='1an9b'><pre id='1an9b'><center id='1an9b'></center></pre></bdo></b><th id='1an9b'></th></span></q></dt></tr></i><div id='1an9b'><tfoot id='1an9b'></tfoot><dl id='1an9b'><fieldset id='1an9b'></fieldset></dl></div>
      <bdo id='1an9b'></bdo><ul id='1an9b'></ul>
  1. <tfoot id='1an9b'></tfoot>

    <small id='1an9b'></small><noframes id='1an9b'>

  2. <legend id='1an9b'><style id='1an9b'><dir id='1an9b'><q id='1an9b'></q></dir></style></legend>

      使用php一次提交多个项目到paypal购物车

      时间:2023-06-23

          <tbody id='Dm7jy'></tbody>

        <i id='Dm7jy'><tr id='Dm7jy'><dt id='Dm7jy'><q id='Dm7jy'><span id='Dm7jy'><b id='Dm7jy'><form id='Dm7jy'><ins id='Dm7jy'></ins><ul id='Dm7jy'></ul><sub id='Dm7jy'></sub></form><legend id='Dm7jy'></legend><bdo id='Dm7jy'><pre id='Dm7jy'><center id='Dm7jy'></center></pre></bdo></b><th id='Dm7jy'></th></span></q></dt></tr></i><div id='Dm7jy'><tfoot id='Dm7jy'></tfoot><dl id='Dm7jy'><fieldset id='Dm7jy'></fieldset></dl></div>

            <small id='Dm7jy'></small><noframes id='Dm7jy'>

            • <bdo id='Dm7jy'></bdo><ul id='Dm7jy'></ul>
              • <legend id='Dm7jy'><style id='Dm7jy'><dir id='Dm7jy'><q id='Dm7jy'></q></dir></style></legend>
                <tfoot id='Dm7jy'></tfoot>

                本文介绍了使用php一次提交多个项目到paypal购物车的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我有一些有 2 级和 3 级自定义的待售商品.设置后,用户会将它们添加到我的现场购物车中.问题是,我如何在结账时将每件商品发送到贝宝?我为动态按钮找到的唯一代码仅支持单个项目.

                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.

                <form method="post" action="https://www.paypal.com/cgi-bin/webscr" target="paypal">
                <input type="hidden" name="cmd" value="_cart">
                <input type="hidden" name="add" value="1">
                <input type="hidden" name="business" value="EMAIL">
                <input type="hidden" name="item_name" value="Item #1">
                <input type="hidden" name="item_number" value="123456">
                <input type="hidden" name="amount" value="7.00">
                <input type="hidden" name="shipping" value="0">
                <input type="hidden" name="shipping2" value="0">
                <input type="hidden" name="handling" value="0">
                <input type="hidden" name="currency_code" value="USD">
                <input type="hidden" name="return" value="http://www.yoursite.com/thankyou.htm">
                <input type="hidden" name="undefined_quantity" value="1">
                <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!">
                </form>
                

                我尝试添加

                <input type="hidden" name="item_name_2" value="Item #1">
                <input type="hidden" name="item_number_2" value="123456">
                <input type="hidden" name="amount_2" value="7.00">
                

                但没有阳性结果.

                有什么想法吗?

                推荐答案

                这里是解决方案

                <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
                <input type="hidden" name="cmd" value="_cart">
                <input type="hidden" name="upload" value="1">
                <input type="hidden" name="business" value="email@email.com">
                <input type="hidden" name="item_name_1" value="Item #1">
                <input type="hidden" name="amount_1" value="1.00">
                <input type="hidden" name="item_name_2" value="Item #2">
                <input type="hidden" name="amount_2" value="2.00">
                <input type="submit" value="PayPal">
                </form> 
                

                这篇关于使用php一次提交多个项目到paypal购物车的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:将自定义变量传递给 paypal IPN 下一篇:检测 Paypal 订阅取消

                相关文章

              • <legend id='bafGS'><style id='bafGS'><dir id='bafGS'><q id='bafGS'></q></dir></style></legend>

                    <bdo id='bafGS'></bdo><ul id='bafGS'></ul>
                1. <small id='bafGS'></small><noframes id='bafGS'>

                  1. <i id='bafGS'><tr id='bafGS'><dt id='bafGS'><q id='bafGS'><span id='bafGS'><b id='bafGS'><form id='bafGS'><ins id='bafGS'></ins><ul id='bafGS'></ul><sub id='bafGS'></sub></form><legend id='bafGS'></legend><bdo id='bafGS'><pre id='bafGS'><center id='bafGS'></center></pre></bdo></b><th id='bafGS'></th></span></q></dt></tr></i><div id='bafGS'><tfoot id='bafGS'></tfoot><dl id='bafGS'><fieldset id='bafGS'></fieldset></dl></div>
                    <tfoot id='bafGS'></tfoot>