无法从PayPal返回数据数组获取item_name

时间:2017-07-11 08:00:05

标签: php wordpress forms paypal

早上好! 我的PayPal付款有问题。 有我的PayPal表格:

<form id="upsell_form_paypal" name="_xclick" action="https://www.paypal.com/it/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="admin@test.com">
<input type="hidden" name="cmd" value="_xclick">

<input type="hidden" name="return" value="https://test.com/thank-you.php?type=upsell&payment=paypal">
<input type="hidden" id="upsell_notify_url" name="notify_url" value="https://test.com/payment.php?type=upsell">
<input type="hidden" name="rm" value="2">
<input type="hidden" name="currency_code" value="EUR">

<input type="hidden" name="item_name" id="item_name" value="Upsell-1">
<input type="hidden" name="amount" id="paypal_amount" value="0.01"><!-- PRICE -->
<input type="hidden" name="custom" id="paypal_custom" value="170907265"><!-- DEAL ID-->
<input type="hidden" name="payment_type" id="paypal_type_1234565" value="upsell"><!-- DEAL ID-->

<input type="image" class="image" style="margin-top:0" src="https://www.test.com/wp-content/uploads/2016/08/pagadesso.gif" border="0" name="submit" alt="Pay via PayPal">
<img alt="" border="0" src="https://www.paypalobjects.com/it_IT/i/scr/pixel.gif" width="1" height="1">

付款后我得到这个数组。在我的notify_url文件中,我可以获取除item_name之外的所有变量值。 item_name为空,我无法获得它。

enter image description here

它可能是什么?星期五item_name工作正常,我得到了它的价值,但从昨天开始我不能再得到它了......

0 个答案:

没有答案