これはPayPal支払い統合のためのPHPのコードです。支払いは正常に完了しています。応答URLはhttp://codaty.com/success.php?tx=83437E384950D&st=Completed&amt=10.00&cc=USD&cm=&item_number=1である必要がありますが、URLはhttp://codaty.com/success.phpとなっています。私は何のパラメータも得られていない。これは統合のための正しい方法ですか?参考のためにサンプルコードを入手できますか?Paypal Paymentインテグレーションで値が返されない
$paypal_url='https://www.paypal.com/cgi-bin/webscr';
$paypal_id='[email protected]';
<form action="<?php echo $paypal_url; ?>" method="post" name="frmPayPal1">
<input type="hidden" name="business" value="<?php echo $paypal_id; ?>">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="item_name" value="QR Code">
<input type="hidden" name="item_number" value="1">
<input type="hidden" name="credits" value="510">
<input type="hidden" name="userid" value="<?=$session_userid?>">
<input type="hidden" name="amount" value="0.10">
<input type="hidden" name="cpp_header_image" value="http://codaty.com/images/logo.png">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="handling" value="0">
<input type="hidden" name="cancel_return" value="http://codaty.com/cancel.php">
<input type="hidden" name="return" value="http://codaty.com/success.php">
<input type="image" src="images/card03.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!" class="img-responsive">
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
私はこれが – Greeshma
また、あなたが 'の 'http:// codaty.com/success.php'と同じ値を入力してください。お知らせ下さい –