我们在PayPal SDK中得到“连接超时10000毫秒后超时”错误

时间:2018-09-17 12:38:07

标签: paypal

我们使用paypal paypal \ rest-api-sdk-php创建\ PayPal \ Api \ Agreement();。但是在沙箱/生产的10000毫秒错误之后,我们得到了Connection超时。

我们正在为此发送请求

PayPal \ Api \ Agreement对象 (     [_propMapSmiley TongueayPal \ Common \ PayPalModelSmiley Tonguerivate] =>数组         (             [名称] =>双             [description] =>为Anuj kumar创建的双重计划协议             [开始日期] => 2018-09-20T10:00:44Z             [计划] => PayPal \ Api \ Plan对象                 (                     [_propMapSmiley TongueayPal \ Common \ PayPalModelSmiley Tonguerivate] =>数组                         (                             [id] => P-2L832240C25124715WZLDQAQ                         )

            )

        [payer] => PayPal\Api\Payer Object
            (
                [_propMapSmiley TongueayPal\Common\PayPalModelSmiley Tonguerivate] => Array
                    (
                        [payment_method] => paypal
                    )
            )
    )

但是得到这个结果

PayPal \ Exception \ PayPalConnectionException对象 (     [urlSmiley TongueayPal \ Exception \ PayPalConnectionExceptionSmiley Tonguerivate] => https://api.sandbox.paypal.com/v1/oauth2/token     [dataSmiley TongueayPal \ Exception \ PayPalConnectionExceptionSmiley Tonguerivate] =>     [messageSmiley Tonguerotected] => 10000毫秒后连接超时     [string:ExceptionSmiley Tonguerivate] =>     [codeSmiley Tonguerotected] => 28     [fileSmiley Tonguerotected] => D:\ xampp \ htdocs \ Track-R \ vendor \ Paypal \ paypal \ rest-api-sdk-php \ lib \ PayPal \ Core \ PayPalHttpConnection.php     [lineSmiley Tonguerotected] => 181     [trace:ExceptionSmiley Tonguerivate] =>数组

0 个答案:

没有答案