简体   繁体   English

PayPal IPN卷曲问题

[英]PayPal IPN Curl issue

Upon till recently: late September PayPal IPN has been working fine. 直到最近:9月下旬,贝宝IPN一直运行良好。 But, recently it has stopped. 但是,最近它已经停止了。 Checked code and it is all fine. 检查代码,一切都很好。

    try {
        $listener->requirePostMethod();
        $verified = $listener->processIpn();
        mail('###@###.com', 'what is the verified value?', $verified);

        } catch (Exception $e) {
        mail('####@####.co.uk', 'error', $e->getMessage());

        error_log($e->getMessage());
        exit(0);
        }

This block of code after I go through the checkout process will try the processIPN method. 经过检查过程的这段代码将尝试processIPN方法。 However, the Catch part gets executed. 但是,Catch部分得到执行。 In the email i get the error message, 在电子邮件中,我收到错误消息,

cURL error: [60] SSL certificate problem, verify that the CA cert is OK. cURL错误:[60] SSL证书问题,请验证CA证书是否正确。 Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed. 详细信息:错误:14090086:SSL例程:SSL3_GET_SERVER_CERTIFICATE:证书验证失败。

I guess PayPal may have updated their security measures or such. 我想PayPal可能已经更新了其安全措施或类似措施。 How can I fix this? 我怎样才能解决这个问题?

Follow the instructions her to upgrade https://www.paypal-knowledge.com/infocenter/index?page=content&widgetview=true&id=FAQ1766&viewlocale=en_US&direct=en 按照她的指示进行升级https://www.paypal-knowledge.com/infocenter/index?page=content&widgetview=true&id=FAQ1766&viewlocale=en_US&direct=zh-CN

TEMPORARY WORKAROUND: Migrate to ipnpb.paypal.com. 临时替代方法:迁移到ipnpb.paypal.com。 This endpoint will remain on SHA-1 until Q2 2016 and can be used as an alternate IPN processing point. 该端点将一直保留在SHA-1上,直到2016年第二季度,并可用作备用IPN处理点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM