Magento 1.9在Stripe Webhook请求中出现503错误

时间:2018-03-10 09:48:50

标签: php magento stripe-payments webhooks

在这种情况下,请帮助澄清哪一方Magento1.9或服务器将503错误绑定到webhook:

  
      
  1. 案例1:成功付款 - 网络挂钩无法创建magento   orderes,
  2.   
  3. 案例2:取消订阅 - web hook不是   处理。 503错误
  4.   
  5. 案例3:成功付款 - 网络摘要   失败了503
  6.   

access.log包含这样的行(例如,在行开头的ip被更改): -11.111.111.111 - - [26/Feb/2018:09:40:24 +0000] "POST /subscription/stripe/webhook HTTP/1.1" 503 7319 "-" "Stripe/1.0 (+https://stripe.com/docs/webhooks)" -22.222.222.222 - - [26/Feb/2018:17:30:01 +0000] "GET /cron.php HTTP/1.1" 20 +0000] "POST /subscription/stripe/webhook HTTP/1.1" 200 3907 "-" "Stripe/1.0 (+https://stripe.com/docs/webhooks)"0 3444 "-" "Wget/1.15 (linux-gnu)" -33.333.333.333 - - [26/Feb/2018:17:48:26 +0000] "POST /subscription/stripe/webhook HTTP/1.1" 200 3907 "-" "Stripe/1.0 (+https://stripe.com/docs/webhooks)" -22.222.222.222 - - [26/Feb/2018:18:07:58 +0000] "POST /subscription/stripe/webhook HTTP/1.1" 503 7321 "-" "Stripe/1.0 (+https://stripe.com/docs/webhooks)"

因此,有时你会看到有时候会变成200岁。 没有maintenance.flag文件。除命名案例外,网站工作正常。 如何定义此类案件的原因?

我也得到了这个错误页面

Customer email is required Trace: 0 - /var/www/html/app/code/core/Mage/Customer/Model/Resource/Customer.php(76): Mage::exception('Mage_Customer', 'Customer email ...') 1 - /var/www/html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(1122): Mage_Customer_Model_Resource_Customer->_beforeSave(Object(Mage_Customer_Model_Customer)) 2 - /var/www/html/app/code/core/Mage/Core/Model/Abstract.php(318): Mage_Eav_Model_Entity_Abstract->save(Object(Mage_Customer_Model_Customer)) 3 - /var/www/html/app/code/local/Blackbox/Subscription/controllers/StripeController.php(123): Mage_Core_Model_Abstract->save() 4 - /var/www/html/app/code/local/Blackbox/Subscription/controllers/StripeController.php(18): Blackbox_Subscription_StripeController->paymentSucceeded(Array) 5 - /var/www/html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Blackbox_Subscription_StripeController->webhookAction() 6 - /var/www/html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('webhook') 7 - /var/www/html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) 8 - /var/www/html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch() 9 - /var/www/html/app/Mage.php(684): Mage_Core_Model_App->run(Array) 10 - /var/www/html/index.php(83): Mage::run('', 'store') 11 - {main}

0 个答案:

没有答案