Paypal 贝宝可以';无法在结账时检测移动设备

Paypal 贝宝可以';无法在结账时检测移动设备,paypal,paypal-ipn,express-checkout,paypal-buttons,Paypal,Paypal Ipn,Express Checkout,Paypal Buttons,我使用贝宝支付标准。上面写着: 移动贝宝支付标准(MPPS)基于贝宝支付 标准(PPS)。PPS是整合PayPal支付流的最简单方式 进入一个网站,一旦整合到一个网站,手机 功能将自动提供给访问您的 使用移动设备的网站 结账时一切正常,但始终是PC版。在iOS和Android手机、BlueStacks emulator和Chrome开发者工具的不同用户代理设置上进行了尝试。两者都不起作用 这是我的按钮: <form action="https://www.paypal.com/c

我使用贝宝支付标准。上面写着:

移动贝宝支付标准(MPPS)基于贝宝支付 标准(PPS)。PPS是整合PayPal支付流的最简单方式 进入一个网站,一旦整合到一个网站,手机 功能将自动提供给访问您的 使用移动设备的网站

结账时一切正常,但始终是PC版。在iOS和Android手机、BlueStacks emulator和Chrome开发者工具的不同用户代理设置上进行了尝试。两者都不起作用

这是我的按钮:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="paypal_form">
    <!-- Things you should change on per order -->
    
    <input type="hidden" name="item_name" value="<?=$paypalItemName?>"> <!-- Description of goods -->
    <input type="hidden" name="amount" value="<?=$total_amount?>"> <!-- Amount to bill customer -->
    <input type="hidden" name="invoice" value="<?=$paypalID?>"> <!-- Unique sales ID number -->
     
    <!-- Things you only need to change on setup -->
    
    <input type="hidden" name="business" value="name@mydomain.com">   <!-- Master Paypal Email -->
    <input type="hidden" name="currency_code" value="USD"> <!-- Currency -->
    <input type="hidden" name="return" value="http://www.mydomain.com/order-success.php?ppl=1&subscription_id=<?php echo $paypalID; ?>"> <!-- Your thank you page -->
    <input type="hidden" name="cancel_return" value="http://www.mydomain.com/order-declined.php">  <!-- Page incase of error-->

    <!-- Things you should not change -->
    
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="undefined_quantity" value="1"> <!-- Quantity - Keep One -->
    <input type="hidden" name="item_number" value="1"> <!-- Item Number-->
    <input type="hidden" name="charset" value="utf-8"> <!-- Leave as is -->
    <input type="hidden" name="no_note" value="1"> <!-- No note required by customer -->
    <input type="hidden" name="notify_url" value="https://www.mydomain.com/api/paypal.php"> <!--Leave as is-->
    
    <input type="image" src="http://images.paypal.com/images/x-click-but01.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>


如果你是专门为手机建立一个页面,那么我建议你使用手机快速结账。但是,如果您希望使用网站支付标准,则没有通过移动流专门指导买家的代码。PayPal页面将显示它是一个移动设备,并通过移动流程引导买家。然而,情况并非总是如此。有些事情可能会导致买家通过reqular web流而不是移动流,即使他们在移动设备上。这可能取决于他们使用的按钮类型,或者代码中传递的变量,因为移动流不支持所有变量