0
임 가진 어려움을 완료하지, 난페이팔 정보 라이브 버전에 페이팔과
<form class="paypal-form" action=" https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="qparcel">
<input type="hidden" name="item_number" value="1">
<input type="hidden" name="amount" id="amount" value="<?php echo $paypal_amount; ?>">
<input type="hidden" name="shipping" value="0">
<input type="hidden" name="custom " value="<?=$orderid?>">
<input type="hidden" name="custom_more" value="<?php echo 'test2'; ?>">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="rm" value="2">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="hidden" name="return" value="<?php echo get_site_url(); ?>/payment-complete">
<input type="image" src="<?php echo get_option("siteurl"); ?>/wp-content/themes/qparcel/images/pay-with-pp.jpg" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypal.com/en_AU/i/scr/pixel.gif" width="1" height="1">
</form>
응답 페이지 ....이 라이브 모드에서 테스트 모드에서 완벽하게 작동하지만 얻을 수
if (isset($_POST['mc_gross'])) {
// do stuff
}
임 테스트 모드에서 완벽하게 작동하지만 라이브 모드에서는 작동하지 않습니다.
라이브 버전에 $_POST['mc_gross']
이 표시되지 않을 가능성이 있습니까?
'mc_gross'가 라이브 버전에 나타납니다. – Andy