Started POST "/stripe/create_intent" for ::1 at 2020-05-31 11:51:15 +0200 Processing by SolidusStripe::IntentsController#create_intent as */* Parameters: {"form_data"=>"utf8=%E2%9C%93&_method=patch&authenticity_token=s2OpZUqGXxk7VcWf6ZMpAiqY5BQkYza6bKf3aTNreuRMvkmWchjgRkdN9afv2dTyKib4g353swVWBxqWboBQ4A%3D%3D&order%5Bpayments_attributes%5D%5B%5D%5Bpayment_method_id%5D=2&payment_source%5B2%5D%5Bname%5D=First+name+Last+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Bfirstname%5D=First+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Blastname%5D=Last+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcompany%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Baddress1%5D=Street+123&payment_source%5B2%5D%5Baddress_attributes%5D%5Baddress2%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcity%5D=Hello+city&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcountry_id%5D=197&payment_source%5B2%5D%5Baddress_attributes%5D%5Bstate_id%5D=2649&payment_source%5B2%5D%5Baddress_attributes%5D%5Bstate_name%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Bzipcode%5D=12345&payment_source%5B2%5D%5Baddress_attributes%5D%5Bphone%5D=1234567&payment_source%5B2%5D%5Baddress_attributes%5D%5Balternative_phone%5D=&payment_source%5B2%5D%5Bcc_type%5D=visa&payment_source%5B2%5D%5Bgateway_payment_profile_id%5D=pm_1Gonp0EQCZF9lrWLEBgoeKJ1&payment_source%5B2%5D%5Blast_digits%5D=4242&payment_source%5B2%5D%5Bmonth%5D=12&payment_source%5B2%5D%5Byear%5D=2021&order%5Bcoupon_code%5D=", "spree_payment_method_id"=>2, "stripe_payment_method_id"=>"pm_1Gonp0EQCZF9lrWLEBgoeKJ1", "authenticity_token"=>"s2OpZUqGXxk7VcWf6ZMpAiqY5BQkYza6bKf3aTNreuRMvkmWchjgRkdN9afv2dTyKib4g353swVWBxqWboBQ4A==", "intent"=>{"form_data"=>"utf8=%E2%9C%93&_method=patch&authenticity_token=s2OpZUqGXxk7VcWf6ZMpAiqY5BQkYza6bKf3aTNreuRMvkmWchjgRkdN9afv2dTyKib4g353swVWBxqWboBQ4A%3D%3D&order%5Bpayments_attributes%5D%5B%5D%5Bpayment_method_id%5D=2&payment_source%5B2%5D%5Bname%5D=First+name+Last+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Bfirstname%5D=First+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Blastname%5D=Last+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcompany%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Baddress1%5D=Street+123&payment_source%5B2%5D%5Baddress_attributes%5D%5Baddress2%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcity%5D=Hello+city&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcountry_id%5D=197&payment_source%5B2%5D%5Baddress_attributes%5D%5Bstate_id%5D=2649&payment_source%5B2%5D%5Baddress_attributes%5D%5Bstate_name%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Bzipcode%5D=12345&payment_source%5B2%5D%5Baddress_attributes%5D%5Bphone%5D=1234567&payment_source%5B2%5D%5Baddress_attributes%5D%5Balternative_phone%5D=&payment_source%5B2%5D%5Bcc_type%5D=visa&payment_source%5B2%5D%5Bgateway_payment_profile_id%5D=pm_1Gonp0EQCZF9lrWLEBgoeKJ1&payment_source%5B2%5D%5Blast_digits%5D=4242&payment_source%5B2%5D%5Bmonth%5D=12&payment_source%5B2%5D%5Byear%5D=2021&order%5Bcoupon_code%5D=", "spree_payment_method_id"=>2, "stripe_payment_method_id"=>"pm_1Gonp0EQCZF9lrWLEBgoeKJ1"}} Spree::PaymentMethod::StripeCreditCard Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE "spree_payment_methods"."type" = $1 AND "spree_payment_methods"."deleted_at" IS NULL AND "spree_payment_methods"."id" = $2 LIMIT $3 [["type", "Spree::PaymentMethod::StripeCreditCard"], ["id", 2], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::Store Load (0.2ms) SELECT "spree_stores".* FROM "spree_stores" WHERE ("spree_stores"."url" = $1 OR "spree_stores"."default" = $2) ORDER BY "spree_stores"."default" ASC LIMIT $3 [["url", "localhost"], ["default", true], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::Order Load (0.1ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."completed_at" IS NULL AND "spree_orders"."currency" = $1 AND "spree_orders"."guest_token" = $2 AND "spree_orders"."store_id" = $3 AND "spree_orders"."user_id" IS NULL LIMIT $4 [["currency", "EUR"], ["guest_token", "9TfeQIRCf2SnSlHnGJRtTw"], ["store_id", 1], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 1102ms (Views: 0.9ms | ActiveRecord: 0.6ms | Allocations: 6705) Started POST "/stripe/create_payment" for ::1 at 2020-05-31 11:51:16 +0200 Processing by SolidusStripe::IntentsController#create_payment as */* Parameters: {"form_data"=>"utf8=%E2%9C%93&_method=patch&authenticity_token=s2OpZUqGXxk7VcWf6ZMpAiqY5BQkYza6bKf3aTNreuRMvkmWchjgRkdN9afv2dTyKib4g353swVWBxqWboBQ4A%3D%3D&order%5Bpayments_attributes%5D%5B%5D%5Bpayment_method_id%5D=2&payment_source%5B2%5D%5Bname%5D=First+name+Last+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Bfirstname%5D=First+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Blastname%5D=Last+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcompany%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Baddress1%5D=Street+123&payment_source%5B2%5D%5Baddress_attributes%5D%5Baddress2%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcity%5D=Hello+city&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcountry_id%5D=197&payment_source%5B2%5D%5Baddress_attributes%5D%5Bstate_id%5D=2649&payment_source%5B2%5D%5Baddress_attributes%5D%5Bstate_name%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Bzipcode%5D=12345&payment_source%5B2%5D%5Baddress_attributes%5D%5Bphone%5D=1234567&payment_source%5B2%5D%5Baddress_attributes%5D%5Balternative_phone%5D=&payment_source%5B2%5D%5Bcc_type%5D=visa&payment_source%5B2%5D%5Bgateway_payment_profile_id%5D=pm_1Gonp0EQCZF9lrWLEBgoeKJ1&payment_source%5B2%5D%5Blast_digits%5D=4242&payment_source%5B2%5D%5Bmonth%5D=12&payment_source%5B2%5D%5Byear%5D=2021&order%5Bcoupon_code%5D=", "spree_payment_method_id"=>2, "stripe_payment_intent_id"=>"pi_1Gonp1EQCZF9lrWLdVdWzZbL", "authenticity_token"=>"s2OpZUqGXxk7VcWf6ZMpAiqY5BQkYza6bKf3aTNreuRMvkmWchjgRkdN9afv2dTyKib4g353swVWBxqWboBQ4A==", "intent"=>{"form_data"=>"utf8=%E2%9C%93&_method=patch&authenticity_token=s2OpZUqGXxk7VcWf6ZMpAiqY5BQkYza6bKf3aTNreuRMvkmWchjgRkdN9afv2dTyKib4g353swVWBxqWboBQ4A%3D%3D&order%5Bpayments_attributes%5D%5B%5D%5Bpayment_method_id%5D=2&payment_source%5B2%5D%5Bname%5D=First+name+Last+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Bfirstname%5D=First+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Blastname%5D=Last+name&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcompany%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Baddress1%5D=Street+123&payment_source%5B2%5D%5Baddress_attributes%5D%5Baddress2%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcity%5D=Hello+city&payment_source%5B2%5D%5Baddress_attributes%5D%5Bcountry_id%5D=197&payment_source%5B2%5D%5Baddress_attributes%5D%5Bstate_id%5D=2649&payment_source%5B2%5D%5Baddress_attributes%5D%5Bstate_name%5D=&payment_source%5B2%5D%5Baddress_attributes%5D%5Bzipcode%5D=12345&payment_source%5B2%5D%5Baddress_attributes%5D%5Bphone%5D=1234567&payment_source%5B2%5D%5Baddress_attributes%5D%5Balternative_phone%5D=&payment_source%5B2%5D%5Bcc_type%5D=visa&payment_source%5B2%5D%5Bgateway_payment_profile_id%5D=pm_1Gonp0EQCZF9lrWLEBgoeKJ1&payment_source%5B2%5D%5Blast_digits%5D=4242&payment_source%5B2%5D%5Bmonth%5D=12&payment_source%5B2%5D%5Byear%5D=2021&order%5Bcoupon_code%5D=", "spree_payment_method_id"=>2, "stripe_payment_intent_id"=>"pi_1Gonp1EQCZF9lrWLdVdWzZbL"}} Spree::PaymentMethod::StripeCreditCard Load (0.3ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE "spree_payment_methods"."type" = $1 AND "spree_payment_methods"."deleted_at" IS NULL AND "spree_payment_methods"."id" = $2 LIMIT $3 [["type", "Spree::PaymentMethod::StripeCreditCard"], ["id", 2], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::Store Load (0.1ms) SELECT "spree_stores".* FROM "spree_stores" WHERE ("spree_stores"."url" = $1 OR "spree_stores"."default" = $2) ORDER BY "spree_stores"."default" ASC LIMIT $3 [["url", "localhost"], ["default", true], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::Order Load (0.1ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."completed_at" IS NULL AND "spree_orders"."currency" = $1 AND "spree_orders"."guest_token" = $2 AND "spree_orders"."store_id" = $3 AND "spree_orders"."user_id" IS NULL LIMIT $4 [["currency", "EUR"], ["guest_token", "9TfeQIRCf2SnSlHnGJRtTw"], ["store_id", 1], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::Payment Load (0.3ms) SELECT "spree_payments".* FROM "spree_payments" WHERE "spree_payments"."order_id" = $1 AND "spree_payments"."state" = $2 AND "spree_payments"."payment_method_id" = $3 ORDER BY "spree_payments"."created_at" ASC [["order_id", 4], ["state", "pending"], ["payment_method_id", 2]] ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::PaymentMethod Load (0.2ms) SELECT "spree_payment_methods".* FROM "spree_payment_methods" WHERE "spree_payment_methods"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::CreditCard Load (0.3ms) SELECT "spree_credit_cards".* FROM "spree_credit_cards" WHERE "spree_credit_cards"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::Order Load (0.3ms) SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = $1 LIMIT $2 [["id", 4], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::Address Load (0.1ms) SELECT "spree_addresses".* FROM "spree_addresses" WHERE "spree_addresses"."id" = $1 LIMIT $2 [["id", 7], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::State Load (0.2ms) SELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."id" = $1 LIMIT $2 [["id", 2649], ["LIMIT", 1]] ↳ app/models/spree/address_decorator.rb:8:in `state_text' Spree::Country Load (0.2ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = $1 LIMIT $2 [["id", 197], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::Address Load (0.2ms) SELECT "spree_addresses".* FROM "spree_addresses" WHERE "spree_addresses"."id" = $1 LIMIT $2 [["id", 8], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' CACHE Spree::State Load (0.0ms) SELECT "spree_states".* FROM "spree_states" WHERE "spree_states"."id" = $1 LIMIT $2 [["id", 2649], ["LIMIT", 1]] ↳ app/models/spree/address_decorator.rb:8:in `state_text' CACHE Spree::Country Load (0.0ms) SELECT "spree_countries".* FROM "spree_countries" WHERE "spree_countries"."id" = $1 LIMIT $2 [["id", 197], ["LIMIT", 1]] ↳ config/initializers/maintenance_mode.rb:26:in `call' (0.2ms) BEGIN ↳ config/initializers/maintenance_mode.rb:26:in `call' Spree::LogEntry Create (0.5ms) INSERT INTO "spree_log_entries" ("source_type", "source_id", "details", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["source_type", "Spree::Payment"], ["source_id", 9], ["details", "--- !ruby/object:ActiveMerchant::Billing::Response\nparams:\n error:\n code: payment_intent_unexpected_state\n doc_url: https://stripe.com/docs/error-codes/payment-intent-unexpected-state\n message: 'You cannot cancel this PaymentIntent because it has a status of canceled.\n Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method,\n requires_capture, requires_confirmation, requires_action.'\n payment_intent:\n id: pi_1GhJb5EQCZF9lrWLvGgwEXFq\n object: payment_intent\n amount: 28000\n amount_capturable: 0\n amount_received: 0\n application: \n application_fee_amount: \n canceled_at: 1589738996\n cancellation_reason: automatic\n capture_method: manual\n charges:\n object: list\n data:\n - id: ch_1GhJb5EQCZF9lrWLl0dKKUjJ\n object: charge\n amount: 28000\n amount_refunded: 28000\n application: \n application_fee: \n application_fee_amount: \n balance_transaction: \n billing_details:\n address:\n city: \n country: \n line1: \n line2: \n postal_code: \n state: \n email: \n name: \n phone: \n calculated_statement_descriptor: Stripe\n captured: false\n created: 1589134195\n currency: eur\n customer: cus_HFpF2eXnBPJAcT\n description: 'Solidus Order ID: R868414226 (pending)'\n destination: \n dispute: \n disputed: false\n failure_code: \n failure_message: \n fraud_details: {}\n invoice: \n livemode: false\n metadata:\n order_id: '4'\n on_behalf_of: \n order: \n outcome:\n network_status: approved_by_network\n reason: \n risk_level: normal\n risk_score: 42\n seller_message: Payment complete.\n type: authorized\n paid: true\n payment_intent: pi_1GhJb5EQCZF9lrWLvGgwEXFq\n payment_method: pm_1GhJb4EQCZF9lrWL2LEp2Cbg\n payment_method_details:\n card:\n brand: visa\n checks:\n address_line1_check: \n address_postal_code_check: \n cvc_check: pass\n country: US\n exp_month: 12\n exp_year: 2022\n fingerprint: QbRxqB6siDoy3ZqO\n funding: credit\n installments: \n last4: '4242'\n network: visa\n three_d_secure: \n wallet: \n type: card\n receipt_email: \n receipt_number: \n receipt_url: https://pay.stripe.com/receipts/acct_15MOMKEQCZF9lrWL/ch_1GhJb5EQCZF9lrWLl0dKKUjJ/rcpt_HFpFdyBGeIZ4K5cXlsOf4KVurZqtBAn\n refunded: true\n refunds:\n object: list\n data:\n - id: re_1GjqvwEQCZF9lrWLRa59jhCi\n object: refund\n amount: 28000\n balance_transaction: \n charge: ch_1GhJb5EQCZF9lrWLl0dKKUjJ\n created: 1589738996\n currency: eur\n metadata: {}\n payment_intent: pi_1GhJb5EQCZF9lrWLvGgwEXFq\n reason: expired_uncaptured_charge\n receipt_number: \n source_transfer_reversal: \n status: succeeded\n transfer_reversal: \n has_more: false\n total_count: 1\n url: \"/v1/charges/ch_1GhJb5EQCZF9lrWLl0dKKUjJ/refunds\"\n review: \n shipping: \n source: \n source_transfer: \n statement_descriptor: \n statement_descriptor_suffix: \n status: succeeded\n transfer_data: \n transfer_group: \n has_more: false\n total_count: 1\n url: \"/v1/charges?payment_intent=pi_1GhJb5EQCZF9lrWLvGgwEXFq\"\n client_secret: pi_1GhJb5EQCZF9lrWLvGgwEXFq_secret_uHUX57bnF6Xban8PwUP3Dsa5P\n confirmation_method: automatic\n created: 1589134195\n currency: eur\n customer: cus_HFpF2eXnBPJAcT\n description: 'Solidus Order ID: R868414226-5U49CKX3'\n invoice: \n last_payment_error: \n livemode: false\n metadata:\n order_id: '4'\n next_action: \n on_behalf_of: \n payment_method: pm_1GhJb4EQCZF9lrWL2LEp2Cbg\n payment_method_options:\n card:\n installments: \n request_three_d_secure: automatic\n payment_method_types:\n - card\n receipt_email: \n review: \n setup_future_usage: off_session\n shipping: \n source: \n statement_descriptor: \n statement_descriptor_suffix: \n status: canceled\n transfer_data: \n transfer_group: \n type: invalid_request_error\nmessage: 'You cannot cancel this PaymentIntent because it has a status of canceled.\n Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method,\n requires_capture, requires_confirmation, requires_action.'\nsuccess: false\ntest: false\nauthorization: \nfraud_review: \nerror_code: \nemv_authorization: \navs_result:\n code: \n message: \n street_match: \n postal_match: \ncvv_result:\n code: \n message: \n"], ["created_at", "2020-05-31 09:51:16.874066"], ["updated_at", "2020-05-31 09:51:16.874066"]] ↳ config/initializers/maintenance_mode.rb:26:in `call' (2.0ms) COMMIT ↳ config/initializers/maintenance_mode.rb:26:in `call' Gateway Error --- !ruby/object:ActiveMerchant::Billing::Response params: error: code: payment_intent_unexpected_state doc_url: https://stripe.com/docs/error-codes/payment-intent-unexpected-state message: 'You cannot cancel this PaymentIntent because it has a status of canceled. Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method, requires_capture, requires_confirmation, requires_action.' payment_intent: id: pi_1GhJb5EQCZF9lrWLvGgwEXFq object: payment_intent amount: 28000 amount_capturable: 0 amount_received: 0 application: application_fee_amount: canceled_at: 1589738996 cancellation_reason: automatic capture_method: manual charges: object: list data: - id: ch_1GhJb5EQCZF9lrWLl0dKKUjJ object: charge amount: 28000 amount_refunded: 28000 application: application_fee: application_fee_amount: balance_transaction: billing_details: address: city: country: line1: line2: postal_code: state: email: name: phone: calculated_statement_descriptor: Stripe captured: false created: 1589134195 currency: eur customer: cus_HFpF2eXnBPJAcT description: 'Solidus Order ID: R868414226 (pending)' destination: dispute: disputed: false failure_code: failure_message: fraud_details: {} invoice: livemode: false metadata: order_id: '4' on_behalf_of: order: outcome: network_status: approved_by_network reason: risk_level: normal risk_score: 42 seller_message: Payment complete. type: authorized paid: true payment_intent: pi_1GhJb5EQCZF9lrWLvGgwEXFq payment_method: pm_1GhJb4EQCZF9lrWL2LEp2Cbg payment_method_details: card: brand: visa checks: address_line1_check: address_postal_code_check: cvc_check: pass country: US exp_month: 12 exp_year: 2022 fingerprint: QbRxqB6siDoy3ZqO funding: credit installments: last4: '4242' network: visa three_d_secure: wallet: type: card receipt_email: receipt_number: receipt_url: https://pay.stripe.com/receipts/acct_15MOMKEQCZF9lrWL/ch_1GhJb5EQCZF9lrWLl0dKKUjJ/rcpt_HFpFdyBGeIZ4K5cXlsOf4KVurZqtBAn refunded: true refunds: object: list data: - id: re_1GjqvwEQCZF9lrWLRa59jhCi object: refund amount: 28000 balance_transaction: charge: ch_1GhJb5EQCZF9lrWLl0dKKUjJ created: 1589738996 currency: eur metadata: {} payment_intent: pi_1GhJb5EQCZF9lrWLvGgwEXFq reason: expired_uncaptured_charge receipt_number: source_transfer_reversal: status: succeeded transfer_reversal: has_more: false total_count: 1 url: "/v1/charges/ch_1GhJb5EQCZF9lrWLl0dKKUjJ/refunds" review: shipping: source: source_transfer: statement_descriptor: statement_descriptor_suffix: status: succeeded transfer_data: transfer_group: has_more: false total_count: 1 url: "/v1/charges?payment_intent=pi_1GhJb5EQCZF9lrWLvGgwEXFq" client_secret: pi_1GhJb5EQCZF9lrWLvGgwEXFq_secret_uHUX57bnF6Xban8PwUP3Dsa5P confirmation_method: automatic created: 1589134195 currency: eur customer: cus_HFpF2eXnBPJAcT description: 'Solidus Order ID: R868414226-5U49CKX3' invoice: last_payment_error: livemode: false metadata: order_id: '4' next_action: on_behalf_of: payment_method: pm_1GhJb4EQCZF9lrWL2LEp2Cbg payment_method_options: card: installments: request_three_d_secure: automatic payment_method_types: - card receipt_email: review: setup_future_usage: off_session shipping: source: statement_descriptor: statement_descriptor_suffix: status: canceled transfer_data: transfer_group: type: invalid_request_error message: 'You cannot cancel this PaymentIntent because it has a status of canceled. Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method, requires_capture, requires_confirmation, requires_action.' success: false test: false authorization: fraud_review: error_code: emv_authorization: avs_result: code: message: street_match: postal_match: cvv_result: code: message: Completed 500 Internal Server Error in 617ms (ActiveRecord: 5.0ms | Allocations: 24964) Spree::Core::GatewayError (You cannot cancel this PaymentIntent because it has a status of canceled. Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method, requires_capture, requires_confirmation, requires_action.): config/initializers/maintenance_mode.rb:26:in `call'