2014-04-21 26 views
2

客戶端移動了服務器,並且magento cron.php從未設置爲備份。當我使他們,我發現,Magento的被張貼到貝寶:Magento cron試圖聯繫貝寶?

的Cron在/ usr/bin中/ PHP -q /home/dev/public_html/cron.php

* About to connect() to api-3t.paypal.com port 443 (#0) 
* Trying 173.0.88.69... 
* connected 
* Connected to api-3t.paypal.com (173.0.88.69) port 443 (#0) 
* successfully set certificate verify locations: 
* CAfile: /etc/pki/tls/certs/ca-bundle.crt 
    CApath: none 
* SSL connection using DES-CBC3-SHA 
* Server certificate: 
*  subject: C=US; ST=California; L=San Jose; O=PayPal, Inc.; OU=PayPal Production; CN=api-3t.paypal.com 
*  start date: 2013-07-03 00:00:00 GMT 
*  expire date: 2015-09-18 23:59:59 GMT 
*  subjectAltName: api-3t.paypal.com matched 
*  issuer: C=US; O=VeriSign, Inc.; OU=VeriSign Trust Network; OU=Terms of use at https://www.verisign.com/rpa (c)10; CN=VeriSign Class 3 Secure Server CA - G3 
*  SSL certificate verify ok. 
> POST /nvp HTTP/1.1 
Host: api-3t.paypal.com 
Accept: */* 
Content-Length: 225 
Content-Type: application/x-www-form-urlencoded 

* upload completely sent off: 225 out of 225 bytes 
< HTTP/1.1 200 OK 
< Date: Tue, 25 Mar 2014 01:45:04 GMT 
< Server: Apache 
< Content-Length: 240 
< Connection: close 
< Content-Type: text/plain; charset=utf-8 
< 
* Closing connection #0 

有這些一堆這是從cron作業輸出的。我立即禁用了cron。

我不能在我的生活中找到: 1:magento聯繫貝寶的任何原因(這是一個開發者服務器,它沒有完整的訂單,因爲它是從[生產服務器]) 2:Magento或Payal中的任何日誌都可以告訴我它發佈了什麼。

任何人都可以點亮一下嗎?我們確實需要讓cron工作,以便我們可以運行站點地圖生成,但我不習慣與Paypal交談。

我們目前正在使用PayPal付款Pro和快速結賬

謝謝, 邁克

+0

重複收費啓用? –

+0

我們不出售任何基於訂閱的東西。我在哪裏可以找到該設置? – Mike

+1

可能是一個擁有自己的cron的模塊。你可以在奧阿調度添加到快速看到最新運行,時保存您禁用了整個的cron - http://www.magentocommerce.com/magento-connect/aoe-scheduler.html – McNab

回答

0

這是來自PayPal接到報告,無後顧之憂標準Magento的cron作業。你是對的 - 這是paypal_fetch_settlement_reports工作。它放在app/code/core/Mage/Paypal/etc/config.xml中:

<crontab> 
    <jobs> 
     <paypal_fetch_settlement_reports> 
     <run> 
      <model>paypal/observer::fetchReports</model> 
     </run> 
     </paypal_fetch_settlement_reports> 
    </jobs> 
</crontab>