我在使用PayPal支付标准。在x.com上写着:
移动PayPal支付标准是以PayPal支付标准为基础的。PPS是将PayPal支付流程集成到网站中的最简单方法,一旦集成到网站中,移动功能将自动为使用移动设备访问网站的用户提供。
一切都在进行结帐,但始终是PC版本。尝试用iOS和安卓手机,BlueStacks仿真器和不同的用户代理设置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>使用cmd="_express-checkout"版本,我可以在表单上将其更改为cmd="_express-checkout-mobile",但是cmd="_xclick"没有类似的选项。
那么,我应该为移动设备实现Exrepess Checkout,还是有一种方法可以通过PayPal支付标准来实现呢?
可能重复: PayPal网站支付标准的移动优化结帐在被接受的答案上,上面写着检查电子邮件。我没有访问它,但我尝试了我的个人电子邮件,没有任何额外的设置航运,税收和税收规则设置。
发布于 2013-03-07 13:55:29
如果您是专门为移动购买一个页面,那么我建议您使用Express Checkout进行移动。然而,如果你想使用网站支付标准,没有代码专门指导买方通过移动流程。PayPal页面将发现它是一种移动设备,并引导买方通过移动流。然而,情况并非总是如此。有些东西可以导致买方通过规模化的网络流,而不是移动流,即使他们是在移动设备上。这取决于它们使用的按钮类型,或者代码中传递的变量,因为所有变量都不受移动流的支持。
https://stackoverflow.com/questions/15266252
复制相似问题