因此,在我的网站上,我启用了 paypal,但是当用户单击“立即购买”按钮时,我想在重定向到 paypal.com 之前向店主发送一封包含一些信息的电子邮件。我想不出如何为我的生活做这件事,因为(我不认为)它在被重定向之前曾经回发到我的页面。有任何想法吗?发送此电子邮件绝对至关重要。该页面位于带有 C# 的 asp.net 中。
贝宝代码是:
form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="form1" runat="server">
input type="hidden" name="cmd" value="_xclick" />
input type="hidden" name="lc" value="US" />
input type="hidden" name="item_name" value="Lollipops Gift Baskets Order" />
input type="hidden" id="paypal_amount" runat="server" name="amount" value="56.00" />
input type="hidden" name="currency_code" value="USD" />
input type="hidden" name="button_subtype" value="products" />
input type="hidden" name="tax_rate" value="0.000" />
input type="hidden" id="paypal_shipping" runat="server" name="shipping" value="0.00" />
input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" id="submit1" runat="server" />
img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
/form>