【问题标题】:Paypal button not working in hotmail emailsPaypal 按钮在 hotmail 电子邮件中不起作用
【发布时间】:2013-05-21 05:29:23
【问题描述】:

我遇到以下问题:下方的 paypal 按钮代码在发送到 Hotmail 地址时无法正常工作。它在电子邮件源代码和电子邮件消息中显示得很好。但是当你点击它时,它会将你定向到贝宝主页。

这适用于 gmail 和 yahoo 邮件,但不适用于 Hotmail。下面的代码是使用的代码以及它在电子邮件中的显示方式。

它这样做是有原因的吗,我在上面找不到任何东西。

<form method="post" name="paypal_form" action="https://www.paypal.com/cgi-bin/webscr">
  <input type="hidden" name="business" value="email@email.com"/>
  <input type="hidden" name="invoice" value="NGQ2YWY1Nz000mZiYmEty1I2ZTMzZTcwOxxzMmI4Y="/>
  <input type="hidden" name="item_name" value="Acme Company [testes]"/>
  <input type="hidden" name="amount" value="4"/>
  <input type="hidden" name="rm" value="2"/>
  <input type="hidden" name="cmd" value="_xclick"/>
  <input type="hidden" name="currency_code" value="USD"/>
  <input type="hidden" name="notify_url" value="http://site.com/paypal.php?payment_status=ipn"/>
  <input type="hidden" name="cancel_return" value="http://site.com/paypal.php?payment_status=cancel"/>
  <input type="hidden" name="return" value="http://site.com/paypal.php?payment_status=success"/>
  <input type="hidden" name="upload" value="0"/>
  <input type="image" src="http://site.com/images/paypal_logo.png" width="197" height="48" class="paypal_button" name="submit" alt="Make payments with PayPal!" title="Make payments with PayPal!">
</form>

【问题讨论】:

    标签: email button paypal paypal-ipn hotmail


    【解决方案1】:

    您永远不应该在电子邮件中使用&lt;form&gt;——永远永远。它不能被信任工作。

    什么会为您生成带有 POST 变量的 &lt;form&gt;,为什么不使用带有 GET 变量的 &lt;a&gt; 链接?

    【讨论】:

    • 那么链接中的等价物是什么?
    • 我问是什么生成了这个表单以从那里开始......但是,您可以通过转到 PayPal.com 并创建一个按钮来生成一个链接,在步骤 2 下取消选中 PayPal 上的保存按钮,创建按钮,然后切换到“电子邮件”选项卡以将其作为链接查看。然后,您应该能够使用所需的变量和 URL 编码值调整该链接以满足您的需求。
    • 回答你问题的第一部分,它不是一个插件,它是一个在电子邮件中包含此表单的功能。我会看看 Paypal 对链接做了什么,然后尝试将我的变量添加到该链接中。
    猜你喜欢
    • 2013-09-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-28
    • 1970-01-01
    • 2014-06-28
    • 2011-11-11
    • 1970-01-01
    相关资源
    最近更新 更多