得到错误"您的购买无法完成" .in paypal。

时间:2016-04-01 13:05:04

标签: php laravel paypal

i getting this page after click to send button in live server. but when the sam e code is applied in localhost it works fine.

此图片在localhost enter image description here

中进行测试

view.blade.php`

<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"  target="PPDGFrame" class="standard" id='paypal_id' accept-charset="utf-8">
                        <input type="hidden" name="cmd" value="_cart">
                        <input type="hidden" name="upload" value="1">
                        <input type="hidden" name="business" value="{!! $send_money->financial_account->paypal_account !!}">
                        <!--  -->
                        <input type="hidden" name="item_number_1" value="1"/>
                        <input type="hidden" name="item_name_1" value="Tansfer"/>
                        <!--   <input type="hidden" name="rm" value="2"/>
                        <input type="hidden" name="test_ipn" value="1" />-->
                        <input  type="hidden" name="expType" value="instant">
                        <input type="hidden" name="amount_1" value="{!! $send_money->withdraw_amount !!}">
                        <input type="hidden" name="buyer_credit_promo_code" value="">
                        <input type="hidden" name="buyer_credit_product_category" value="">
                        <input type="hidden" name="email" value="kushwahavikas1993@gmail.com">
                        <!-- {!! Config::get('constants.Paypal_account')  !!} -->
                        <input type="hidden" name="buyer_credit_user_address_change" value="">
                        <input type="hidden" name="no_shipping" value="0">
                        <input type="hidden" name="no_note" value="1">
                        <input type="hidden" name="currency_code" value="USD">
                        <input type="hidden" name="lc" value="US">
                        <input type='hidden' name='cancel_return' value='http://example.com/cancel.php'>
                        <input type='hidden' name='return' value='http://localhost/softral/public/admin/financial/requestMoney/getDone'>
                        <input type="hidden" name="detail1_description" value="Softral Payment"/>
                        <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">

                        <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
                        <input type="hidden" name="bn" value="PP-BuyNowBF">
                        <input type="submit" value="Pay!"/>

                        </form>`

我不明白这个代码出了什么问题,任何解决方案都会受到高度关注。

0 个答案:

没有答案