支付paypal后订阅自动取消

时间:2015-04-08 22:34:05

标签: paypal subscription unsubscribe

这是我的代码(表单订阅):

<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="enrique.sevilla.11@gmail.com ">
<input type="hidden" name="custom" value="<? echo $user; ?>">
<input type="hidden" name="lc" value="ES">
<input type="hidden" name="item_name" value="Pago mensual Monetiza.me">
<input type="hidden" name="item_number" value="1">
<input type="hidden" name="amount" value="39">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="button_subtype" value="Servicios">
<input type="hidden" name="rm" value="2">
<input type="hidden" name="return" value="<?php echo $urlPredeterminada; ?>pago/ok">
<input type="hidden" name="cancel_return" value="<?php echo $urlPredeterminada; ?>pago/ko">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="image_url" value="http://www.monetiza.me/images/logo-monetiza.png">
<input type="hidden" name="notify_url" value="<?php echo $urlPredeterminada; ?>ipn.php">
<input type="hidden" name="suscripcion" value="si">
<input type="hidden" name="a3" value="39">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">

此表单记录付款和订阅,但几分钟后订阅将被取消并收到确认已取消的电子邮件。如何防止自我取消订阅?

对不起我的英语,我是一名秘鲁开发人员:(

1 个答案:

答案 0 :(得分:0)

您需要添加src=1来表明付款会按月重复发生:

<input type="hidden" name="src" value="1">