【发布时间】:2014-04-23 17:02:06
【问题描述】:
我正在使用 phonegap 2.9 为 Android 和 iOS 开发一个应用程序。我已经使用应用内浏览器实现了贝宝付款流程,在 android 上一切正常,但在 iOS 中,付款完成后出现一个小问题,当它应该在成功页面上重定向时,它显示“加载错误”并且无法返回成功页面。
我没有为商家账户设置任何自动退货网址。我也尝试设置它,但在 iOS 上仍然存在同样的问题
相同的脚本在 Android 应用上运行良好
服务器上发送的数据是:
$config = array(
'cmd' => '_xclick',
'business' => $seller['paypal_email'],
'return' => $success_url ,
'undefined_quantity' => 0,
'item_name' => $item_list,
'item_number' => '#some number#',
'notify_url' => $notify_url,
'currency_code' => 'USD',
'amount' => $order_total,
'no_shipping' => 1,
'custom' => $order_id,
'cancel_return' => $failure_url
);
【问题讨论】: