おはよう、Paypalインテグレーション - EWP設定エラー
私はPHPとMySQLiで自分のeコマースストアを構築中です。現在のテストサイトです:http://taxreturnsolutions.uk/ecommerce/
私は、このガイドに従っている:https://www.codexworld.com/paypal-standard-payment-gateway-integration-php/
私は私は今それを買うボタンをクリックしてください可能性がすべてのセットアップを持っていたし、その中で絶対に正常に動作し、それは私を取るだろうサンドボックスのサイトと私は購入することができます。
* URL注:マイSQLIデータベースは、しかしなどの関連データで更新されるだろう今私は次のようにPaypalのサンドボックスから、次のメッセージが出続ける?/ webappsに/ショッピングカート/エラーflowlogging_id = 7be60528d708 &コード= EWP_SETTINGS私は今それを買うボタンを押して、このたびは、これまでしかし前に、それがこのエラーを提示する私は今それを買うボタンを使用3/10回例えば、断続的な問題だっ取得
と7/10倍の処理が正しく行われます。次のように
ボタンの私のコードは次のとおりです。
$paypalURL = "https://www.sandbox.paypal.com/cgi-bin/webscr"; //Test PayPal API URL
$paypalID = '[email protected]'; //Business Email
<!-- Button -->
<?php
if(isset ($_SESSION['login_user'])){
echo "
<form action=' $paypalURL ' method='post' style='text-align: center;'>
<!-- Identify your business so that you can collect the payments. -->
<input type='hidden' name='business' value='$paypalID'>
<!-- Specify a Buy Now button. -->
<input type='hidden' name='cmd' value='_xclick'>
<!-- Specify details about the item that buyers will purchase. -->
<input type='hidden' name='product_name' value='$product_array[$key]['product_name']'>
<input type='hidden' name='product_id' value='$product_array[$key]['product_id']'>
<input type='hidden' name='product_price' value='$product_array[$key]['product_price']'>
<input type='hidden' name='currency_code' value='GBP'>
<input type='hidden' name='notify_url' value='http://taxreturnsolutions.uk/ecommerce/payments/ipn.php'>
<!-- Specify URLs -->
<input type='hidden' name='cancel_return' value='http://taxreturnsolutions.uk/ecommerce/payments/cancel.php'>
<input type='hidden' name='return' value='http://taxreturnsolutions.uk/ecommerce/payments/success.php'>
<!-- Display the payment button. -->
<input type='image' name='submit' border='0'
src='https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif' alt='PayPal - The safer, easier way to pay online'>
<img alt='' border='0' width='1' height='1' src='https://www.paypalobjects.com/en_US/i/scr/pixel.gif' >
</form> ";
} else
{
echo "<p style='text-align: center;'><b> Log in</b> to Buy Now </p>";
}
?>
これで任意の助けをいただければ幸いです。
ありがとうございました。 スタン。
私はこの問題を解決しました。暗号化されていないウェブサイトにペイパルへの支払いを許可する必要がありました。 –
私は同じ問題に直面しています。あなたは、暗号化されていないウェブサイトがペイパルへの支払いを可能にするための手順を説明してください。 –