2016-10-09 2 views
0

온라인 샵을 만들고 있는데 모두 좋다고 생각 되나 notify_url은 결제가 완료된 후에 전화를 걸지 않는 것 같습니다.Paypal IPN : notify_url이 호출되지 않습니다.

<?php 
echo " 
<form action='https://www.sandbox.paypal.com/cgi-bin/webscr' method='post'> 
<input type='hidden' name='charset' value='utf-8'> 
<input type='hidden' value='$price' name='amount' /> 
<input name='currency_code' type='hidden' value='EUR' /> 
<input name='shipping' type='hidden' value='0.00' /> 
<input name='tax' type='hidden' value='0.00' /> 
<input name='return' type='hidden' value='$nddaff/refill.php' /> 
<input name='cancel_return' type='hidden' value='$nddaff/refill.php' /> 
<input name='notify_url' type='hidden' value='http://domain.com/validationpaypal.php' /> 
<input name='cmd' type='hidden' value='_xclick' /> 
<input name='business' type='hidden' value='[email protected]'/> 
<input name='item_name' type='hidden' value='$name' /> 
<input name='custom' type='hidden' value='id=$id&type=$type' /> 
<input name='lc' type='hidden' value='FR' /> 
<input name='bn' type='hidden' value='PP-BuyNowBF' /> 
<input name='sub' value='Buy Now - $price"."€' type='submit' /></form>"; 
?> 
+0

코드로 작동하지 않는 경우 사업용 계정 설정에서 직접 사용하십시오. http://www.codexworld.com/how-to-guides/paypal-ipn-notify-url -not-working-sandbox-account/ –

+0

@Albert Akki 다른 사람들을 위해 작동한다면 내 코드에서 틀린 것이 틀림 없습니다. –

+0

시뮬레이터를 사용하여 IPN 코드가 https : //developer.paypal을 수신하는 것을 볼 수 있습니다. .com/docs/classic/ipn/integration-guide/IPNSimulator/ – cyberwombat

답변

0

답 : 페이팔 샌드 박스에서 어제 버그가 있었다

, 모두가 오늘 잘 작동!

도움 주셔서 감사합니다.