我已经下载了 Pay pal SDK 最新版本 1.1.0。它在测试环境中运行良好,但是在用于沙盒帐户时,它会抛出一个错误,说“与贝宝服务器通信时出现问题”。你能帮忙吗?我正在将贝宝与 iOS 应用程序集成。控制台上的响应是:
PayPal-iOS-SDK-Sample-App[1555:19d03] Request has failed with error:"pp_service_error_json_parse_error - System error. Please try again later.
details: (
{
"ns_error" = "Error Domain=NSCocoaErrorDomain Code=3840 \"The operation couldn\U2019t be completed. (Cocoa error 3840.)\" (JSON text did not start with array or object and option to allow fragments not set.) UserInfo=0xa456590 {NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}";
}
)"