加密时如何覆盖paypal表单?

时间:2016-03-12 00:37:17

标签: paypal paypal-ipn

猛击 我在网站上工作,为帐户收取费用,在沙盒环境中进行测试时,它是完美的。 我可以制作加密按钮并覆盖表单中的金额和用户ID吗?

 <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
        <input type="hidden" name="custom" value="<?php echo $user_id; ?>">                   
                  <input type="hidden" name="cmd" value="_xclick">
                  <input type="hidden" name="business" value="MY_Business_ACOUNT">
                  <input type="hidden" name="lc" value="US">
                  <input type="hidden" name="item_name" value="Subscribe for SMLE">
                  <input type="hidden" name="amount" value="<?php echo $sub_fees; ?>">
                  <input type="hidden" name="currency_code" value="USD">
                  <input type="hidden" name="button_subtype" value="services">
                  <input type="hidden" name="no_note" value="1">
                  <input type="hidden" name="no_shipping" value="1">
                  <input type="hidden" name="rm" value="1">
                  <input type="hidden" name="return" value="<?php echo base_url("ipn_success");?>">
                  <input type="hidden" name="cancel_return" value="<?php echo base_url("ipn_cancel");?>">
                  <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHosted">
                  <input type="hidden" name="notify_url" value="<?php echo base_url("ipn");?>">
                  <input type="image" src="<?php echo base_url("assets/img/paypal.png"); ?>"
                    border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"
                    width = "400" height = "200"
                  >

  </form>

保持此表格安全的最佳解决方案是什么?

我使用IPN API

0 个答案:

没有答案