#ruby-on-rails #spree
#ruby-on-rails #spree
Вопрос:
Просматривая журнал, я получаю это :
Processing CheckoutsController#update (for 69.230.191.209 at 2011-04-26 15:08:53) [PUT]
Parameters: {"step"=>"payment", "order_id"=>"R107122666", "action"=>"update", "_method"=>"put", "authenticity_token"=>"ovZo SsiHiGsmgtwkdzr0tRtfylQwGOUCeV9zEJU=", "controller"=>"checkouts", "checkout"=>{"creditcard_attributes"=>{"number"=>"[FILTERED]", "month"=>"8", "id"=>"63", "year"=>"2013", "last_name"=>"", "verification_value"=>"[FILTERED]", "first_name"=>""}}}
Gateway Error ... An error occurred during processing. Please try again.
Rendering template within layouts/spree_application
Rendering checkouts/edit
Completed in 4804ms (View: 76, DB: 38) | 200 OK [https://truejey.com/orders/R10712666/checkout]
Хорошо .. очень общая ошибка. Но это происходит из Authorize.net что говорит мне, что это может быть любое из этих :
The system-generated void for the original timed-out transaction failed. (The original transaction timed out while waiting for a response from the authorizer.)
The system-generated void for the original errored transaction failed. (The original transaction experienced a database error.)
The system-generated void for the original errored transaction failed. (The original transaction experienced a processing error.)
Разница в том, что response_code
я получил обратно, будь то 120
, 121
или 122
.
Мой вопрос в том, как я могу узнать, каким был response_code для этой транзакции?
Или, что еще лучше, есть ли у кого-нибудь еще мастер-способ отладки подобных проблем CC?