Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支付宝退款问题 #31

Closed
liuxiaolonglxl opened this issue Nov 21, 2017 · 2 comments
Closed

支付宝退款问题 #31

liuxiaolonglxl opened this issue Nov 21, 2017 · 2 comments

Comments

@liuxiaolonglxl
Copy link

问题描述

支付宝退款调用不成功,是不是我这配置有问题,求解

代码

    $config_biz = [
        'out_trade_no' => $TempOrderId,      // 订单号
        'refund_amount' => $price,       //退款金额
        'subject' => '正常退款',       //订单标题
    ];
    $pay = new pay($this->config);
    $resultCode = $pay->driver('alipay')->gateway('Web')->refund($config_biz);

报错详情

cURL error 35: timed out before SSL handshake (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

@liuxiaolonglxl
Copy link
Author

或者是我的传值方法不正确

@riseno
Copy link
Contributor

riseno commented Nov 24, 2017

是不是少了 ssl key & cert?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants