对于我的项目,我一直在集成 PayPal 沙箱。我已将以下代码用于标准方法。但我无法收到来自 PayPal 的通知电话(notify-url)。怎么了?
<form id="form1" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" style="display:none;" accept-charset="utf-8">
<input type="hidden" name="business" value="test2_biz@gmail.com" />
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="paymentaction" value="sale" />
<input type="hidden" name="item_name_1" value="lap" />
<input type="hidden" name="amount_1" value="1" />
<input type="hidden" name="quantity_1" value="1" />
<input type="hidden" name="first_name" value="1" /><!--customer first name -->
<input type="hidden" name="last_name" value="1" /><!--customer last name -->
<input type="hidden" name="address1" value="1" /><!--customer address 1 name -->
<input type="hidden" name="address2" value="1" /><!--customer add2 name -->
<input type="hidden" name="email" value="dfd@rr.ee" /><!--customer email name -->
<input type="hidden" name="city" value="1" /><!--customer city name -->
<input type="hidden" name="state" value="1" /><!--customer state name -->
<input type="hidden" name="country" value="1" /><!--customer country name -->
<input type="hidden" name="zip" value="1" /><!--customer zip name -->
<input type="hidden" name="currency_code" value="USD" /><!--currrecy in which payment u need-->
<input type="hidden" name="upload" value="1" /><!--paypal parameter-->
<input type="hidden" name="return" value="HOST_NAME/default/index/order-return" />
<input type="hidden" name="cancel_return" id="cancel_return" value="" />
<input type="hidden" name="notify_url" id="notify_url" value="HOST_NAME/default/index/notify-url/order/222">
<input type="submit" value="submit">
</form>