2017-10-10 9 views
1

私は自分のウェブサイトにPayPalを統合しようとしています。私の要件は、コンピュータで生成された金額をPayPalに渡して、その金額を支払うことです。 しかし、私はボタンを使って支払いをするとき、私は支払いのためにウェブサイトに連れて行きます、私はサンドボックスアカウントを使用してログインし支払いを行います。しかし、私が支払いをすると、私はメッセージを言うPaypal Button Not Working - 私たちは申し訳ありませんエラー

私たちは申し訳ありませんが現時点では動作していないようです。

enter image description here

は、私が検索可能な問題の同様の質問を尋ねたと示唆した異なるパラメータをサーバ内のボタンをホスティングして提供されている修正プログラムの、しかし、運を実装していないから。ここに私が使用しているコードがあります

<form 
       action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> 
       <!-- Identify your business so that you can collect the payments. --> 
       <input type="hidden" name="business" value="**********@gmail.com"> 
       <!-- 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="item_name" value="Product1"> 
       <input type="hidden" name="item_number" value="1"> 
       <input type="hidden" name="amount" value="10.00"> 
       <input type="hidden" name="currency_code" value="USD"> 
       <input type="hidden" name="rm" value="2" /> 
       <!--in custom field add user id--> 
         <input type="hidden" name="custom" value="102"> 
       <!-- Specify URLs --> 
       <input type='hidden' name='cancel_return' value='http://www.shreyash.tech'> 
       <input type='hidden' name='return' value='http://www.google.co.in'> 
       <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> 

私はここで間違って何をしているのか分かりません。

+0

サンドボックスアカウントを作成しましたか? – Chris

答えて

0

サンドボックスアカウントで問題が発生しています。新しいサンドボックスの販売者とバイヤーのテストアカウントを作成してもう一度お試しください。 PayPalサンドボックスアカウントを作成するための参照先はlinkです。

+0

私のサンドボックスアカウントは他の統合と連携していません。私はその問題ではないと思う – GeekWithGlasses

関連する問題